React js UI example. Instagram User Profile header

React js UI example and template, Instagram User Profile 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: user,profile,header

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>
			<link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css"
rel="stylesheet" />
<header class="clearfix feed-header" data-role="banner">
    <div class="compWrapper">
        <div class="compInnerWrapper">
            <div class="compContainer" id="cycler1">
                <div class="compPhoto compPhoto1"> <a href="#/">
                            <div class="Image iWithTransition">
                                <img src="https://www.bootdey.com/image/225x225/FFE4C4/ffffff" class="img-responsive" />
                                <b class="compPhotoShadow"></b>
                            </div>
                        </a>
                </div>
                <div class="compPhoto compPhoto2"> <a href="#/">
                            <div class="Image iLoaded iWithTransition">
                                <img src="https://www.bootdey.com/image/225x225/FF69B4/ffffff" class="img-responsive" />
                                <b class="compPhotoShadow"></b>
                            </div>
                        </a>
                </div>
                <div class="compPhoto compPhoto3"> <a href="#/" class="">
                            <div class="Image iWithTransition">
                                <img src="https://www.bootdey.com/image/425x425/FF00FF/ffffff" class="img-responsive" />
                                <b class="compPhotoShadow"></b>
                            </div>
                        </a>
                </div>
                <div class="compPhoto compPhoto4"> <a href="#/">
                            <div class="Image iWithTransition">
                                <img src="https://www.bootdey.com/image/250x250/7B68EE/ffffff" class="img-responsive" />
                                <b class="compPhotoShadow"></b>
                            </div>
                        </a>
                </div>
                <div class="compPhoto compPhoto5"> <a href="#/">
                            <div class="Image iWithTransition">
                                <img src="https://www.bootdey.com/image/220x220/66CDAA/ffffff" class="img-responsive" />
                                <b class="compPhotoShadow"></b>
                            </div>
                        </a>
                </div>
                <div class="compPhoto compPhoto6"> <a href="#/">
                            <div class="Image iWithTransition">
                                <img src="https://www.bootdey.com/image/230x230/00BFFF/ffffff" class="img-responsive" />
                                <b class="compPhotoShadow"></b>
                            </div>
                        </a>
                </div>
                <div class="compPhoto compPhoto7"> <a href="#/">
                            <div class="Image iWithTransition">
                                <img src="https://www.bootdey.com/image/250x250/40E0D0/ffffff" class="img-responsive" />
                                <b class="compPhotoShadow"></b>
                            </div>
                        </a>
                </div>
            </div>
        </div>
    </div>
</header>
<div class="profile-user">
    <div class="row">
        <div class="col-md-6">
            <div class="pull-left" style={{/*margin-right: 15px;*/}}>
                <img src="https://bootdey.com/img/Content/avatar/avatar7.png" class="img-polaroid img-responsive" />
            </div>
             <h2>Full name</h2>
            <p> <strong>Bootstrap snippets</strong>  <a href="#/">https://bootdey.com</a>
            </p>
        </div>
        <div class="col-md-6">
            <ul class="inline user-counts-list">
                <li>Photos <span class="count">100</span>
                </li>
                <li>Followers <span class="count">50</span>
                </li>
                <li>Following <span class="count">130</span>
                </li>
            </ul>
        </div>
    </div>
</div>

		</div>
	);
}
export default App;

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

.feed-header {
  margin: 0;
  padding: 32px 0 0;
  background: #333333 url("//d36xtkk24g8jdx.cloudfront.net/bluebar/dd6cb37/images/profile/noise-black.png") 50% 50%;
  background-image: url("//d36xtkk24g8jdx.cloudfront.net/bluebar/dd6cb37/images/profile/profile-header-gradient.png"), url("//d36xtkk24g8jdx.cloudfront.net/bluebar/dd6cb37/images/profile/noise-black.png");
  -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 3px rgba(0, 0, 0, 0.5) inset;
  -moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 3px rgba(0, 0, 0, 0.5) inset;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 3px rgba(0, 0, 0, 0.5) inset;
  position: relative;
  overflow: hidden;
}
 
    
.profile-user {
  position: relative;
  max-width: 964px;
  min-height: 75px;
  margin: 0 auto;
  padding: 10px 30px 15px;
  border-bottom: 1px solid #d9d9d9;
  background: #eeeeee url("//d36xtkk24g8jdx.cloudfront.net/bluebar/dd6cb37/images/bg/white-gradient-200px.png") repeat-x 50% 50%;
  -webkit-box-shadow: 1px 0 0 rgba(0, 0, 0, 0.05), -1px 0 0 rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: 1px 0 0 rgba(0, 0, 0, 0.05), -1px 0 0 rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.05);
  box-shadow: 1px 0 0 rgba(0, 0, 0, 0.05), -1px 0 0 rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.05);
}
.compWrapper {
  margin-left: auto;
  margin-right: auto;
  max-width: 1024px;
  min-width: 720px;
  border: 1px solid #000;
  border-top: none;
  -webkit-border-radius: 4px 4px 0 0;
  border-radius: 4px 4px 0 0;
}

.compInnerWrapper {
  padding-bottom: 40%;
  /* maintain aspect ratio */
  position: relative;
  width: auto;
}

.compNoComp .compInnerWrapper {
  padding-bottom: 88px;
}

.compContainer {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  left: 0;
  margin-left: 0;
  margin-top: 1px;
  background-color: #000;
  -webkit-border-radius: 4px 4px 0 0;
  border-radius: 4px 4px 0 0;
  -webkit-box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  -moz-box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.compNoComp .compContainer, .compContainerLoading {
  background-color: #444;
}

.compPhoto {
  position: absolute;
  height: 50%;
  width: 20%;
  margin: 0 0 0 -1px;
  .compFrontside, .compFlipside {
    bottom: 1px;
    left: 1px;
    position: absolute;
    right: 0;
    top: 0;
    -webkit-transition: opacity .6s ease-out;
    -moz-transition: opacity .6s ease-out;
    -o-transition: opacity .6s ease-out;
    transition: opacity .6s ease-out;
  }
}

.compPhotoShadow {
  border: 1px solid rgba(255, 255, 255, 0.15);
  bottom: 0;
  display: block;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.compPhoto1 {
  left: 0;
  top: 0;
  -webkit-border-radius: 4px 0 0 0;
  border-radius: 4px 0 0 0;
  a, .Image, .compPhotoShadow {
    -webkit-border-radius: 4px 0 0 0;
    border-radius: 4px 0 0 0;
  }
}

.compPhoto2 {
  left: 0;
  top: 50%;
}

.compPhoto3 {
  left: 20%;
  top: 0;
}

.compPhoto.compPhoto3 {
  height: 100%;
  width: 40%;
}

.compPhoto4 {
  left: 60%;
  top: 0;
}

.compPhoto5 {
  left: 60%;
  top: 50%;
}

.compPhoto6 {
  left: 80%;
  top: 0;
  -webkit-border-radius: 0 4px 0 0;
  border-radius: 0 4px 0 0;
  a, .Image, .compPhotoShadow {
    -webkit-border-radius: 0 4px 0 0;
    border-radius: 0 4px 0 0;
  }
}

.compPhoto7 {
  left: 80%;
  top: 50%;
}

.compPhoto6 .compPhotoShadow, .compPhoto7 .compPhotoShadow {
  right: -1px;
}

.compFlipside {
  opacity: 0;
}

.compFlipped {
  .compFrontside {
    opacity: 0;
  }
  .compFlipside {
    opacity: 1;
  }
}

.compPhoto {
  &.compPhoto2 {
    .compFlipside, .compFrontside {
      bottom: 0;
    }
  }
  &.compPhoto3 {
    .compFlipside, .compFrontside {
      bottom: 0;
    }
  }
  &.compPhoto5 {
    .compFlipside, .compFrontside {
      bottom: 0;
    }
  }
  &.compPhoto7 {
    .compFlipside, .compFrontside {
      bottom: 0;
    }
  }
}

.user-media-thumbnails{
  li{
    
  }
  .meta{
    text-align:center;
    color: #999;
  }
  a:hover{
    text-decoration: none !important;
  }
}
    
.user-counts-list{
  li{
    padding: 5px;
    text-align: center;
    margin-left: 25px;
   .count{
      font-weight: bold;
      display:block;
      font-size: 3em;
      margin-top: 10px;
    }
  }
}
    @-webkit-keyframes 'spin8' {
  0% {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
  }
  12.499% {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
  }
  12.5% {
    -webkit-transform: rotate(225deg);
    -moz-transform: rotate(225deg);
    -o-transform: rotate(225deg);
    transform: rotate(225deg);
  }
  24.999% {
    -webkit-transform: rotate(225deg);
    -moz-transform: rotate(225deg);
    -o-transform: rotate(225deg);
    transform: rotate(225deg);
  }
  25% {
    -webkit-transform: rotate(270deg);
    -moz-transform: rotate(270deg);
    -o-transform: rotate(270deg);
    transform: rotate(270deg);
  }
  37.499% {
    -webkit-transform: rotate(270deg);
    -moz-transform: rotate(270deg);
    -o-transform: rotate(270deg);
    transform: rotate(270deg);
  }
  37.5% {
    -webkit-transform: rotate(315deg);
    -moz-transform: rotate(315deg);
    -o-transform: rotate(315deg);
    transform: rotate(315deg);
  }
  49.999% {
    -webkit-transform: rotate(315deg);
    -moz-transform: rotate(315deg);
    -o-transform: rotate(315deg);
    transform: rotate(315deg);
  }
  50% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
  62.499% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
  62.5% {
    -webkit-transform: rotate(405deg);
    -moz-transform: rotate(405deg);
    -o-transform: rotate(405deg);
    transform: rotate(405deg);
  }
  74.999% {
    -webkit-transform: rotate(405deg);
    -moz-transform: rotate(405deg);
    -o-transform: rotate(405deg);
    transform: rotate(405deg);
  }
  75% {
    -webkit-transform: rotate(450deg);
    -moz-transform: rotate(450deg);
    -o-transform: rotate(450deg);
    transform: rotate(450deg);
  }
  87.499% {
    -webkit-transform: rotate(450deg);
    -moz-transform: rotate(450deg);
    -o-transform: rotate(450deg);
    transform: rotate(450deg);
  }
  87.5% {
    -webkit-transform: rotate(495deg);
    -moz-transform: rotate(495deg);
    -o-transform: rotate(495deg);
    transform: rotate(495deg);
  }
  99.999% {
    -webkit-transform: rotate(495deg);
    -moz-transform: rotate(495deg);
    -o-transform: rotate(495deg);
    transform: rotate(495deg);
  }
  100% {
    -webkit-transform: rotate(100deg);
    -moz-transform: rotate(100deg);
    -o-transform: rotate(100deg);
    transform: rotate(100deg);
  }
}


@-moz-keyframes spin8 {
  0% {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
  }
  12.499% {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
  }
  12.5% {
    -webkit-transform: rotate(225deg);
    -moz-transform: rotate(225deg);
    -o-transform: rotate(225deg);
    transform: rotate(225deg);
  }
  24.999% {
    -webkit-transform: rotate(225deg);
    -moz-transform: rotate(225deg);
    -o-transform: rotate(225deg);
    transform: rotate(225deg);
  }
  25% {
    -webkit-transform: rotate(270deg);
    -moz-transform: rotate(270deg);
    -o-transform: rotate(270deg);
    transform: rotate(270deg);
  }
  37.499% {
    -webkit-transform: rotate(270deg);
    -moz-transform: rotate(270deg);
    -o-transform: rotate(270deg);
    transform: rotate(270deg);
  }
  37.5% {
    -webkit-transform: rotate(315deg);
    -moz-transform: rotate(315deg);
    -o-transform: rotate(315deg);
    transform: rotate(315deg);
  }
  49.999% {
    -webkit-transform: rotate(315deg);
    -moz-transform: rotate(315deg);
    -o-transform: rotate(315deg);
    transform: rotate(315deg);
  }
  50% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
  62.499% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
  62.5% {
    -webkit-transform: rotate(405deg);
    -moz-transform: rotate(405deg);
    -o-transform: rotate(405deg);
    transform: rotate(405deg);
  }
  74.999% {
    -webkit-transform: rotate(405deg);
    -moz-transform: rotate(405deg);
    -o-transform: rotate(405deg);
    transform: rotate(405deg);
  }
  75% {
    -webkit-transform: rotate(450deg);
    -moz-transform: rotate(450deg);
    -o-transform: rotate(450deg);
    transform: rotate(450deg);
  }
  87.499% {
    -webkit-transform: rotate(450deg);
    -moz-transform: rotate(450deg);
    -o-transform: rotate(450deg);
    transform: rotate(450deg);
  }
  87.5% {
    -webkit-transform: rotate(495deg);
    -moz-transform: rotate(495deg);
    -o-transform: rotate(495deg);
    transform: rotate(495deg);
  }
  99.999% {
    -webkit-transform: rotate(495deg);
    -moz-transform: rotate(495deg);
    -o-transform: rotate(495deg);
    transform: rotate(495deg);
  }
  100% {
    -webkit-transform: rotate(100deg);
    -moz-transform: rotate(100deg);
    -o-transform: rotate(100deg);
    transform: rotate(100deg);
  }
}


@-o-keyframes spin8 {
  0% {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
  }
  12.499% {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
  }
  12.5% {
    -webkit-transform: rotate(225deg);
    -moz-transform: rotate(225deg);
    -o-transform: rotate(225deg);
    transform: rotate(225deg);
  }
  24.999% {
    -webkit-transform: rotate(225deg);
    -moz-transform: rotate(225deg);
    -o-transform: rotate(225deg);
    transform: rotate(225deg);
  }
  25% {
    -webkit-transform: rotate(270deg);
    -moz-transform: rotate(270deg);
    -o-transform: rotate(270deg);
    transform: rotate(270deg);
  }
  37.499% {
    -webkit-transform: rotate(270deg);
    -moz-transform: rotate(270deg);
    -o-transform: rotate(270deg);
    transform: rotate(270deg);
  }
  37.5% {
    -webkit-transform: rotate(315deg);
    -moz-transform: rotate(315deg);
    -o-transform: rotate(315deg);
    transform: rotate(315deg);
  }
  49.999% {
    -webkit-transform: rotate(315deg);
    -moz-transform: rotate(315deg);
    -o-transform: rotate(315deg);
    transform: rotate(315deg);
  }
  50% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
  62.499% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
  62.5% {
    -webkit-transform: rotate(405deg);
    -moz-transform: rotate(405deg);
    -o-transform: rotate(405deg);
    transform: rotate(405deg);
  }
  74.999% {
    -webkit-transform: rotate(405deg);
    -moz-transform: rotate(405deg);
    -o-transform: rotate(405deg);
    transform: rotate(405deg);
  }
  75% {
    -webkit-transform: rotate(450deg);
    -moz-transform: rotate(450deg);
    -o-transform: rotate(450deg);
    transform: rotate(450deg);
  }
  87.499% {
    -webkit-transform: rotate(450deg);
    -moz-transform: rotate(450deg);
    -o-transform: rotate(450deg);
    transform: rotate(450deg);
  }
  87.5% {
    -webkit-transform: rotate(495deg);
    -moz-transform: rotate(495deg);
    -o-transform: rotate(495deg);
    transform: rotate(495deg);
  }
  99.999% {
    -webkit-transform: rotate(495deg);
    -moz-transform: rotate(495deg);
    -o-transform: rotate(495deg);
    transform: rotate(495deg);
  }
  100% {
    -webkit-transform: rotate(100deg);
    -moz-transform: rotate(100deg);
    -o-transform: rotate(100deg);
    transform: rotate(100deg);
  }
}


@keyframes 'spin8' {
  0% {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
  }
  12.499% {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
  }
  12.5% {
    -webkit-transform: rotate(225deg);
    -moz-transform: rotate(225deg);
    -o-transform: rotate(225deg);
    transform: rotate(225deg);
  }
  24.999% {
    -webkit-transform: rotate(225deg);
    -moz-transform: rotate(225deg);
    -o-transform: rotate(225deg);
    transform: rotate(225deg);
  }
  25% {
    -webkit-transform: rotate(270deg);
    -moz-transform: rotate(270deg);
    -o-transform: rotate(270deg);
    transform: rotate(270deg);
  }
  37.499% {
    -webkit-transform: rotate(270deg);
    -moz-transform: rotate(270deg);
    -o-transform: rotate(270deg);
    transform: rotate(270deg);
  }
  37.5% {
    -webkit-transform: rotate(315deg);
    -moz-transform: rotate(315deg);
    -o-transform: rotate(315deg);
    transform: rotate(315deg);
  }
  49.999% {
    -webkit-transform: rotate(315deg);
    -moz-transform: rotate(315deg);
    -o-transform: rotate(315deg);
    transform: rotate(315deg);
  }
  50% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
  62.499% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
  62.5% {
    -webkit-transform: rotate(405deg);
    -moz-transform: rotate(405deg);
    -o-transform: rotate(405deg);
    transform: rotate(405deg);
  }
  74.999% {
    -webkit-transform: rotate(405deg);
    -moz-transform: rotate(405deg);
    -o-transform: rotate(405deg);
    transform: rotate(405deg);
  }
  75% {
    -webkit-transform: rotate(450deg);
    -moz-transform: rotate(450deg);
    -o-transform: rotate(450deg);
    transform: rotate(450deg);
  }
  87.499% {
    -webkit-transform: rotate(450deg);
    -moz-transform: rotate(450deg);
    -o-transform: rotate(450deg);
    transform: rotate(450deg);
  }
  87.5% {
    -webkit-transform: rotate(495deg);
    -moz-transform: rotate(495deg);
    -o-transform: rotate(495deg);
    transform: rotate(495deg);
  }
  99.999% {
    -webkit-transform: rotate(495deg);
    -moz-transform: rotate(495deg);
    -o-transform: rotate(495deg);
    transform: rotate(495deg);
  }
  100% {
    -webkit-transform: rotate(100deg);
    -moz-transform: rotate(100deg);
    -o-transform: rotate(100deg);
    transform: rotate(100deg);
  }
}


.Spinner {
  height: 18px;
  left: 50%;
  margin-left: -9px;
  margin-top: -9px;
  position: absolute;
  top: 50%;
  width: 18px;
  background-image: url("//d36xtkk24g8jdx.cloudfront.net/bluebar/dd6cb37/images/shared/spinner.png");
  background-size: 100%;
  -webkit-animation: spin8 0.8s linear infinite;
  -moz-animation: spin8 0.8s linear infinite;
  -o-animation: spin8 0.8s linear infinite;
  animation: spin8 0.8s linear infinite;
}
    
    .iLoading {
  opacity: 0;
}

.iLoaded {
  opacity: 1;
  &.iWithTransition {
    -webkit-transition: opacity 2s;
    -moz-transition: opacity 2s;
    -o-transition: opacity 2s;
    transition: opacity 2s;
  }
}

.Image {
  background-size: 100% 100%;
  position: relative;
}
.hidden{
  display:none;
 }
  
 ul.thumbnails li{
  margin: 5px !important;   
    }

Similar snippets

React js template and ui example Profile cover

Profile cover

React js template and ui example Goolge plus style user profile

Goolge plus style user profile

React js template and ui example bs4 profile about

bs4 profile about

React js template and ui example bs4 wishlist profile page

bs4 wishlist profile page

React js template and ui example bs5 dark footer

bs5 dark footer

React js template and ui example bs4 profile settings page

bs4 profile settings page

React js template and ui example bs4 account tickets

bs4 account tickets

React js template and ui example profile with data and skills

profile with data and skills