React js UI example. dashboard user block

React js UI example and template, dashboard user block! . 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,dashboard,block

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="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet"/> 
<div class="container bootstrap snippets bootdey">
    <div class="col-md-4">
      
      <div class="panel widget">
         <div class="panel-body bg-danger text-center">
            <div class="clearfix">
               <div class="pull-left">200 Following</div>
               <div class="pull-right">150 Followers</div>
            </div>
            <img src="https://bootdey.com/img/Content/user_3.jpg" alt="Image" class="img-thumbnail img-circle thumb96"/>
            <h4 class="mt0">Lois Berry</h4>
            <p class="m0">
               <em class="fa fa-fw fa-map-marker"></em>San Francisco, California</p>
            <div class="clearfix">
               <div class="pull-left">15k Likes</div>
               <div class="pull-right">100 Feeds</div>
            </div>
         </div>
      </div>
      
   </div>
    <div class="col-md-4">
      
      <div class="panel widget">
         <div class="panel-body bg-primary text-center">
            <div class="clearfix">
               <div class="pull-left">200 Following</div>
               <div class="pull-right">150 Followers</div>
            </div>
            <img src="https://bootdey.com/img/Content/user_1.jpg" alt="Image" class="img-thumbnail img-circle thumb96"/>
            <h4 class="mt0">Michael chenlyy</h4>
            <p class="m0">
               <em class="fa fa-fw fa-map-marker"></em>San Francisco, California</p>
            <div class="clearfix">
               <div class="pull-left">15k Likes</div>
               <div class="pull-right">100 Feeds</div>
            </div>
         </div>
      </div>
      
   </div>
    <div class="col-md-4">
      
      <div class="panel widget">
         <div class="panel-body bg-info text-center">
            <div class="clearfix">
               <div class="pull-left">200 Following</div>
               <div class="pull-right">150 Followers</div>
            </div>
            <img src="https://bootdey.com/img/Content/user_2.jpg" alt="Image" class="img-thumbnail img-circle thumb96"/>
            <h4 class="mt0">Margareth Danky</h4>
            <p class="m0">
               <em class="fa fa-fw fa-map-marker"></em>San Francisco, California</p>
            <div class="clearfix">
               <div class="pull-left">15k Likes</div>
               <div class="pull-right">100 Feeds</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;}
.widget .panel, .widget.panel {
  overflow: hidden;
}

.widget {
  margin-bottom: 20px;
  border: 0;
}

.bg-danger {
  background-color: #f05050;
  color: #fff!important;
}

.bg-info {
  background-color: #23b7e5;
  color: #fff!important;
}

.bg-primary {
  background-color: #5d9cec;
  color: #fff!important;
}

Similar snippets

React js template and ui example summary social networks

summary social networks

React js template and ui example new contacts widget

new contacts widget

React js template and ui example user profile with timeline photos and setting

user profile with timeline photos and setting

React js template and ui example movie ticket

movie ticket

React js template and ui example dark invoice

dark invoice

React js template and ui example Shop Order Tracking

Shop Order Tracking

React js template and ui example bs4 crud users

bs4 crud users

React js template and ui example bs4 beta friend list

bs4 beta friend list