React js UI example. Profile card with header

React js UI example and template, Profile card with header! . 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,card

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-fluid">
    <div class="row">
        <div class="profile-head">
            <div class="profiles col-xs-8 col-xs-push-2  col-sm-10 col-sm-push-1 thumbnail">
                <div class="col-md-3 col-sm-3 col-xs-12">
                    <div class="row">
                        <img src="https://bootdey.com/img/Content/avatar/avatar6.png" class="img-responsive" />
                    </div>
                </div>
                <div class="col-md-9">
                    <div class="row">
                        <span class="col-sm-12"><h5>John Doe</h5></span>
                        <div class="col-md-4 col-sm-6 col-xs-12">
                            <p>Web Designer / Develpor </p>
                            <ul>
                                <li><span>Lorem ipsum</span></li>
                                <li><span>Lorem ipsum</span></li>
                                <li><span>Lorem ipsum</span></li>
                                <li><span>Lorem ipsum</span></li>
                            </ul>
                        </div>
                        <div class="col-md-4 col-sm-6 col-xs-12">
                            <p>Web Designer / Develpor </p>
                            <ul>
                                <li><span>Lorem ipsum</span></li>
                                <li><span>Lorem ipsum</span></li>
                                <li><span>Lorem ipsum</span></li>
                                <li><span>Lorem ipsum</span></li>
                            </ul>
                        </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 {
    background: #ddd;
}

.page-header {
    background: #00bcd4;
    margin: 0;
}

.profile-head {
    height: 400px;
    width: 100%;
    background-color: #00bcd4;
    float: left;
    position: relative;
}

.profile-head img {
    margin: 0 auto;
    border-radius: 5px;
    max-width: 100%;
    width: 100%;
}

.profile-head h5 {
    width: 100%;
    padding: 5px 5px 0px 5px;
    text-align: justify;
    font-weight: bold;
    color: #555;
    font-size: 25px;
    text-transform: capitalize;
    margin-bottom: 0;
}

.profile-head p {
    width: 100%;
    text-align: justify;
    padding: 0px 5px 5px 5px;
    color: #555;
    font-size: 17px;
    text-transform: capitalize;
    margin: 0;
}

.profile-head a {
    width: 100%;
    text-align: center;
    padding: 10px 5px;
    color: #555;
    font-size: 15px;
    text-transform: capitalize;
}

.profile-head ul {
    list-style: none;
    padding: 0;
}

.profile-head ul li {
    display: block;
    color: #555;
    padding: 5px;
    font-weight: 400;
    font-size: 15px;
}

.profile-head ul li:hover span {
    color: rgb(0, 4, 51);
}

.profile-head ul li span {
    color: #555;
    padding-right: 10px;
}

.profile-head ul li a {
    color: #555;
}

.profile-head h6 {
    width: 100%;
    text-align: center;
    font-weight: 100;
    color: #555;
    font-size: 15px;
    text-transform: uppercase;
    margin-bottom: 0;
}

.profiles {
    top: 300px;
}


/*media query*/

@media all and (max-width:768px) {
    a.menu {
        display: block !important;
        margin: 9px 2px;
        float: right;
        color: rgba(255, 102, 0, 0.98);
        border: 0px solid;
        background: none;
        font-size: 30px;
        width: 27px;
        position: relative;
        cursor: pointer;
    }
    a.menu:hover,
    a.menu:focus {
        color: rgb(0, 4, 51);
    }
    .drop_menu1 {
        display: block;
        visibility: visible;
        width: 250px;
        height: 1000px;
        padding: 5px 30px;
        position: absolute;
        right: 0 !important;
        background-color: #ffffff !important;
        transition: all ease 0.5s;
        border-top: 0px solid;
        cursor: pointer;
    }
}

@media all and (max-width:430px) {
    .profile-head ul li {
        font-size: 12px !important;
    }
    .bio-table>tbody>tr>td {
        font-size: 13px;
    }
}

Similar snippets

React js template and ui example bs4 payments profile

bs4 payments profile

React js template and ui example bs4 past orders profile

bs4 past orders profile

React js template and ui example bs4 Offers profile

bs4 Offers profile

React js template and ui example Profile page with activities

Profile page with activities

React js template and ui example bs5 dark footer

bs5 dark footer

React js template and ui example zig zag user description

zig zag user description

React js template and ui example List user profiles

List user profiles

React js template and ui example summary social networks

summary social networks