React js UI example. Simple admin dashboard home

React js UI example and template, Simple admin dashboard home! . 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: panel,admin,dashboard

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 rel="stylesheet" type="text/css" href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css"/>
<div class="container">
<div class="row">
    <div class="col-lg-12">
        <h1>Dashboard <small>Statistics Overview</small></h1>
        <ol class="breadcrumb">
    		<li class="active"><i class="fa fa-dashboard"></i> Dashboard</li>
		</ol>
        <div class="alert alert-success alert-dismissable">
    		<button aria-hidden="true" data-dismiss="alert" class="close" type="button">×</button>
			Use this boxes to fill your dashboard. You can load number of users, activities, logs, Bootstrap 3, Html, Css, Js, etc...
		</div>
    </div>
</div>
<div class="row">
    <div class="col-md-3">
        <div class="panel panel-default ">
            <div class="panel-body panel-tw panel-content">
                <div class="col-xs-5">
                    <i class="fa fa-twitter fa-5x"></i>
                </div>
                <div class="col-xs-5 text-right">
                    <i class="fa fa-arrow-circle-right"></i>
                    <p class="alerts-heading tex">1200</p>
                    <p class="alerts-text tex">Followers</p>
                </div>
            </div>
        </div>
    </div>
    <div class="col-md-3">
        <div class="panel panel-default ">
            <div class="panel-body panel-fb panel-content">
                <div class="col-xs-5">
                    <i class="fa fa-facebook fa-5x"></i>
                </div>
                <div class="col-xs-5 text-right">
                    <i class="fa fa-arrow-circle-right"></i>
                    <p class="alerts-heading tex ">1234</p>
                    <p class="alerts-text tex">likes</p>
                </div>
            </div>
        </div>
    </div>
    <div class="col-md-3">
        <div class="panel panel-default ">
            <div class="panel-body panel-in panel-content">
                <div class="col-xs-5">
                    <i class="fa fa-money fa-5x"></i>
                </div>
                <div class="col-xs-5 text-right">
                    <i class="fa fa-arrow-circle-right"></i>
                    <p class="alerts-heading tex">800</p>
                    <p class="alerts-text tex">Income</p>
                </div>
            </div>
        </div>
    </div>
    <div class="col-md-3">
        <div class="panel panel-default ">
            <div class="panel-body panel-dl panel-content">
                <div class="col-xs-5">
                    <i class="fa fa-download fa-5x"></i>
                </div>
                <div class="col-xs-5 text-right">
                    <i class="fa fa-arrow-circle-right"></i>
                    <p class="alerts-heading tex">2000</p>
                    <p class="alerts-text tex">Downloads</p>
                </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 :

                        
.panel-blue{
    background:#5bc0de;    
}
.panel-tw{
    background:#5bc0de;    
}
.panel-fb {
    background:#3b5998    
}
.panel-in{
    background:#5cb85c;    
}
.panel-content .fa {
    color:#ffffff;    
}
.panel-dl{
   background:#428bca; 
}
.panel-content p{
    font-weight:bold !important; 
    color:#FFFFFF;
}
                    

Similar snippets

React js template and ui example Simple Comment panel

Simple Comment panel

React js template and ui example Customer testimonial

Customer testimonial

React js template and ui example Admin Panel Quick Shortcuts

Admin Panel Quick Shortcuts

React js template and ui example social network dashboard count

social network dashboard count

React js template and ui example bs5 dark footer

bs5 dark footer

React js template and ui example simple horizontal timeline

simple horizontal timeline

React js template and ui example timeline steps

timeline steps

React js template and ui example bs4 profile contacts

bs4 profile contacts