React js UI example. Contact detail

React js UI example and template, Contact detail! . Take a look at this UI example and see how it can enhance your project. Your can copy or download the code and use it in your project. Don't forget to browse our library of other free React Native templates for even more design and functionality inspiration. Happy coding!
Tags: user,profile,social network,contact

1. First, we need fresh reactjs setup, and for that, we need to run below commands into out terminal, and also we should have latest node version installed on our system:

npx create-react-app my-awesome-project

cd my-awesome-project

npm start

2. Now we need to run below commands into our project terminal to get bootstrap and related modules into our reactjs application:

npm install [email protected] --save

npm start //For start project again

3. Finally for the main output, we need to add below code into our my-awesome-project/src/App.js file or if you have fresh setup then you can replace my-awesome-project/src/App.js file code with below code:

import React from 'react';
import './App.css';
import 'bootstrap/dist/css/bootstrap.min.css';


function App() {
  
	return (
		<div>
			<div class="container container-contact bootstrap snippets bootdeys bootdey">
    <div class="row decor-default">
        <div class="col-md-12">
          <div class="contact">
            <div class="controls">
              <span class="icon icon-folder" data-toggle="tooltip" data-placement="top" title="" data-original-title="Archive"></span>
              <span class="icon icon-delete" data-toggle="tooltip" data-placement="top" title="" data-original-title="Delete"></span>
              <span class="icon icon-close" data-toggle="tooltip" data-placement="top" title="" data-original-title="Close"></span>
              <span class="write" data-toggle="tooltip" data-placement="top" title="" data-original-title="New"></span>
              <img src="https://www.bootdey.com/image/900x320/FF69B4/000000" alt="cover" class="cover"/>
              <div class="cont">
                <img src="https://bootdey.com/img/Content/avatar/avatar3.png" alt="avatar" class="avatar"/>
                <div class="name">Seevisual</div>
                <div class="ui-mark">Designer</div>
                <div class="ui-mark">UI</div>
                <div class="ui-mark">Rocket</div>
              </div>
            </div>
    
            <div class="row">
              <div class="col-md-4 col-md-5 col-xs-12">
                <div class="row">
                  <div class="col-xs-3">
                    Email:
                  </div>
                  <div class="col-xs-9">
                    [email protected]
                  </div>
                  <div class="col-xs-3">
                    Phone:
                  </div>
                  <div class="col-xs-9">
                    +1-800-600-9898
                  </div>
                  <div class="col-xs-3">
                    Address:
                  </div>
                  <div class="col-xs-9">
                    Sacramento, CA
                  </div>
                  <div class="col-xs-3">
                    Birthday:
                  </div>
                  <div class="col-xs-9">
                    1975/8/17
                  </div>
                  <div class="col-xs-3">
                    URL:
                  </div>
                  <div class="col-xs-9">
                    http://yourdomain.com
                  </div>
                </div>
              </div>
              <div class="col-lg-8 col-md-7 col-xs-12">
                <p class="contact-description">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.</p>
              </div>
            </div>
          </div>
        </div>
      </div>
  </div>
		</div>
	);
}
export default App;

4. Now we need to add below code into our my-awesome-project/src/App.css file :

body{
    margin-top:20px;
    background:#eee;
}
.decor-default {
    background-color: #ffffff;
}
.contact .controls {
    position: relative;
}

.contact .controls .write {
    position: absolute;
    z-index: 2;
    right: 20px;
    bottom: -24px;
    width: 48px;
    height: 48px;
    border-radius: 24px;
    cursor: pointer;
    box-shadow: 0 4px 5px #d8d8d8;
    background: #39bee8  no-repeat 50% 50%;
}
.contact .controls .icon {
    position: absolute;
    z-index: 2;
    top: 18px;
    width: 16px;
    height: 16px;
    display: block;
    cursor: pointer;
}
.contact .controls .cover {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    min-height: 150px;
}
.cover {
    position: relative;
    overflow: hidden;
    height: 500px;
}
.contact .controls .cont {
    position: absolute;
    z-index: 2;
    top: 80px;
    left: 0;
    right: 0;
    text-align: center;
}
.contact .controls .avatar {
    display: inline-block;
    width: 90px;
    height: 90px;
    border-radius: 45px;
    position: relative;
    z-index: 2;
}
.contact .controls .name {
    font-size: 20px;
    line-height: 36px;
    color: #ffffff;
    margin: 0 0 10px;
    position: relative;
    z-index: 2;
}
.contact .controls .ui-mark {
    display: inline-block;
    border: 1px solid #ffffff;
    font-size: 16px;
    line-height: 32px;
    color: #ffffff;
    text-align: center;
    margin: 0 2px;
    padding: 0 26px;
    border-radius: 2px;
    position: relative;
    z-index: 2;
}

.container-contact div[class^="col-"] {
    position: relative;
    min-height: 1px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 20px;
}
.contact-description {
    font-size: 16px;
    line-height: 36px;
}

Similar snippets

React js template and ui example User profile account setting

User profile account setting

React js template and ui example Bootdey post lists

Bootdey post lists

React js template and ui example user profile cover with links

user profile cover with links

React js template and ui example about me

about me

React js template and ui example bs5 edit notifications page

bs5 edit notifications page

React js template and ui example notification list

notification list

React js template and ui example bs5 profile security page

bs5 profile security page

React js template and ui example bs5 edit profile account details

bs5 edit profile account details