React js UI example. Material design profile

React js UI example and template, Material design profile! . 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: profile,user,social network,material design

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 bootdey">
    <div class="profile-page">
        <div class="page-header header-filter" data-parallax="active" style={{/*transform: translate3d(0px, 0px, 0px); background-image: url(https://bootdey.com/img/Content/bg1.jpg);*/}}></div>   
        <div class="main main-raised">
        	<div class="profile-content">
                <div class="container">
        
                    <div class="row">
                        <div class="col-xs-6 col-xs-offset-3">
            	           <div class="profile">
                                <div class="avatar">
                                    <img src="https://bootdey.com/img/Content/avatar/avatar6.png" alt="Circle Image" class="img-circle img-responsive img-raised"/>
                                </div>
                                <div class="name">
                                    <h3 class="title">John Smith Doe</h3>
        							<h6>Designer man, boom! boom! baby</h6>
        							<a href="#pablo" class="btn btn-just-icon btn-simple btn-dribbble"><i class="fa fa-dribbble"></i></a>
                                    <a href="#pablo" class="btn btn-just-icon btn-simple btn-twitter"><i class="fa fa-twitter"></i></a>
                                    <a href="#pablo" class="btn btn-just-icon btn-simple btn-pinterest"><i class="fa fa-pinterest"></i></a>
                                </div>
                            </div>
        	            </div>
                        <div class="col-xs-2 follow"></div>
                    </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:#ddd;
}

.profile-page .page-header {
    height: 380px;
    background-position: top center;
}

.header-filter {
    position: relative;
}
.page-header {
    height: 100vh;
    background-position: center center;
    background-size: cover;
    margin: 0;
    padding: 0;
    border: 0;
}
.page-header {
    padding-bottom: 9px;
    margin: 40px 0 20px;
    border-bottom: 1px solid #eee;
}
.main-raised {
    margin: -60px 30px 0px;
    border-radius: 6px;
    box-shadow: 0 16px 24px 2px rgba(0, 0, 0, 0.14), 0 6px 30px 5px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2);
}
.main {
    background: #FFFFFF;
    position: relative;
    z-index: 3;
}
.profile-page .profile {
    text-align: center;
}
.profile-page .profile img {
    max-width: 160px;
    width: 100%;
    margin: 0 auto;
    -webkit-transform: translate3d(0, -50%, 0);
    -moz-transform: translate3d(0, -50%, 0);
    -o-transform: translate3d(0, -50%, 0);
    -ms-transform: translate3d(0, -50%, 0);
    transform: translate3d(0, -50%, 0);
}
.img-raised {
    box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2);
}

Similar snippets

React js template and ui example Profile Activities Followers Following

Profile Activities Followers Following

React js template and ui example bs4 beta user profile info with posts

bs4 beta user profile info with posts

React js template and ui example Recent blog post title

Recent blog post title

React js template and ui example bs4 profile with timeline posts

bs4 profile with timeline posts

React js template and ui example bs5 profile security page

bs5 profile security page

React js template and ui example chat app

chat app

React js template and ui example bs5 dark footer

bs5 dark footer

React js template and ui example login with overlay image

login with overlay image