React js UI example. Cover Profile image with button

React js UI example and template, Cover Profile image with button! . 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: social,profile,user,cover,social network

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 bootstrap snippets bootdeys">
<div class="row">
    <div class="col-md-12">
        <div class="bg-picture" style={{/*background-image:url('https://www.bootdey.com/image/700x300/')*/}}>
          <span class="bg-picture-overlay"></span>
          
          <div class="box-layout meta bottom">
            <div class="col-md-6 clearfix">
              <span class="img-wrapper pull-left m-r-15"><img src="https://bootdey.com/img/Content/avatar/avatar1.png" alt="" style={{/*width:64px*/}} class="br-radius"/></span>
              <div class="media-body">
                <h3 class="text-white mb-2 m-t-10 ellipsis">Deyson Bejarano</h3>
                <h5 class="text-white"> @elgrones</h5>
              </div>
            </div>
            <div class="col-md-6">

              <div class="pull-right">
                <div class="dropdown">
                    <a data-toggle="dropdown" class="dropdown-toggle btn btn-primary" href="#/" aria-expanded="false"> Following <span class="caret"></span></a>
                    <ul class="dropdown-menu dropdown-menu-right" role="menu">
                        <li><a href="#/">Poke</a></li>
                        <li><a href="#/">Private message</a></li>
                        <li class="divider"></li>
                        <li><a href="#/">Unfollow</a></li>
                    </ul>
                </div>
              </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:60px;
background:#e9eaed;
}
.bg-picture {
  position: relative;
  min-height: 300px;
  margin: -20px -25px 0px -25px;
  background-repeat: no-repeat;
  background-position: center;
  -webkit-background-size: cover;
  background-size: cover;
}
.bg-picture>.bg-picture-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjxzdmcgeG1sbnM9Imh0d…0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2xlc3NoYXQtZ2VuZXJhdGVkKSIgLz48L3N2Zz4=);
  background-image: -webkit-linear-gradient(top,rgba(255,255,255,0) 0,rgba(0,0,0,.4) 100%);
  background-image: -o-linear-gradient(top,rgba(255,255,255,0) 0,rgba(0,0,0,.4) 100%);
  background-image: -webkit-gradient(linear,left top,left bottom,from(rgba(255,255,255,0)),to(rgba(0,0,0,.4)));
  background-image: linear-gradient(to bottom,rgba(255,255,255,0) 0,rgba(0,0,0,.4) 100%);
}
.bg-picture>.meta.bottom {
  bottom: 10px;
}
.bg-picture>.meta {
  position: absolute;
  left: 0;
  right: 0;
}
.box-layout {
  display: table!important;
  width: 100%;
  table-layout: fixed;
  border-spacing: 0;
}

.m-r-15 {
    margin-right: 15px;
}

.media-body, .media-left, .media-right {
    display: table-cell;
    vertical-align: top;
}
.media-body {
    width: 10000px;
}
.media, .media-body {
    overflow: hidden;
    zoom: 1;
}

.m-t-10 {
    margin-top: 10px !important;
}
.text-white {
    color: #ffffff;
}
.h3, h3 {
    font-size: 24px;
}
.br-radius, .tiles, .tile-stats, .portlet {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

Similar snippets

React js template and ui example Recent blog post title

Recent blog post title

React js template and ui example User profile account setting

User profile account setting

React js template and ui example activity page

activity page

React js template and ui example bs4 profile friend list

bs4 profile friend list

React js template and ui example bs5 dark footer

bs5 dark footer

React js template and ui example file manager with folders recent files and members

file manager with folders recent files and members

React js template and ui example bs5 edit profile account details

bs5 edit profile account details

React js template and ui example CSS Arrow

CSS Arrow