React js UI example. Users Products todo

React js UI example and template, Users Products todo! . 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: bootstrap,snippet,users,products,todo

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.1.0/css/font-awesome.min.css"/>
<div class="container bootstrap snippets bootdey">
<div class="col-lg-6">
   <div class="main-box clearfix">
      <div class="tabs-wrapper tabs-no-header">
         <ul class="nav nav-tabs">
            <li class="active"><a href="#tab-users" data-toggle="tab">Users</a></li>
            <li class=""><a href="#tab-products" data-toggle="tab">Products</a></li>
            <li class=""><a href="#tab-todo" data-toggle="tab">Todo</a></li>
         </ul>
         <div class="tab-content tab-content-body clearfix">
            <div class="tab-pane fade active in" id="tab-users">
               <ul class="widget-users row">
                  <li class="col-md-6">
                     <div class="img">
                        <img class="img-thumbnail" src="https://bootdey.com/img/Content/avatar/avatar1.png" alt=""/>
                     </div>
                     <div class="details">
                        <div class="name">
                           <a href="#/">Scarlett Johansson</a>
                        </div>
                        <div class="time">
                           <i class="fa fa-clock-o"></i> Last online: 5 minutes ago
                        </div>
                        <div class="type">
                           <span class="label label-danger">Admin</span>
                        </div>
                     </div>
                  </li>
                  <li class="col-md-6">
                     <div class="img">
                        <img class="img-thumbnail" src="https://bootdey.com/img/Content/avatar/avatar2.png" alt=""/>
                     </div>
                     <div class="details">
                        <div class="name">
                           <a href="#/">Mila Kunis</a>
                        </div>
                        <div class="time online">
                           <i class="fa fa-check-circle"></i> Online
                        </div>
                        <div class="type">
                           <span class="label label-warning">Pending</span>
                        </div>
                     </div>
                  </li>
                  <li class="col-md-6">
                     <div class="img">
                        <img class="img-thumbnail" src="https://bootdey.com/img/Content/avatar/avatar3.png" alt=""/>
                     </div>
                     <div class="details">
                        <div class="name">
                           <a href="#/">Ryan Gossling</a>
                        </div>
                        <div class="time online">
                           <i class="fa fa-check-circle"></i> Online
                        </div>
                     </div>
                  </li>
                  <li class="col-md-6">
                     <div class="img">
                        <img class="img-thumbnail" src="https://bootdey.com/img/Content/avatar/avatar4.png" alt=""/>
                     </div>
                     <div class="details">
                        <div class="name">
                           <a href="#/">Robert Downey Jr.</a>
                        </div>
                        <div class="time">
                           <i class="fa fa-clock-o"></i> Last online: Thursday
                        </div>
                     </div>
                  </li>
                  <li class="col-md-6">
                     <div class="img">
                        <img  class="img-thumbnail" src="https://bootdey.com/img/Content/avatar/avatar5.png" alt=""/>
                     </div>
                     <div class="details">
                        <div class="name">
                           <a href="#/">Emma Watson</a>
                        </div>
                        <div class="time">
                           <i class="fa fa-clock-o"></i> Last online: 1 week ago
                        </div>
                     </div>
                  </li>
                  <li class="col-md-6">
                     <div class="img">
                        <img  class="img-thumbnail" src="https://bootdey.com/img/Content/avatar/avatar6.png"  alt=""/>
                     </div>
                     <div class="details">
                        <div class="name">
                           <a href="#/">George Clooney</a>
                        </div>
                        <div class="time">
                           <i class="fa fa-clock-o"></i> Last online: 1 month ago
                        </div>
                     </div>
                  </li>
                  <li class="col-md-6">
                     <div class="img">
                        <img  class="img-thumbnail" src="https://bootdey.com/img/Content/avatar/avatar1.png"  alt=""/>
                     </div>
                     <div class="details">
                        <div class="name">
                           <a href="#/">Mila Kunis</a>
                        </div>
                        <div class="time online">
                           <i class="fa fa-check-circle"></i> Online
                        </div>
                        <div class="type">
                           <span class="label label-warning">Pending</span>
                        </div>
                     </div>
                  </li>
                  <li class="col-md-6">
                     <div class="img">
                        <img  class="img-thumbnail" src="https://bootdey.com/img/Content/avatar/avatar2.png"  alt=""/>
                     </div>
                     <div class="details">
                        <div class="name">
                           <a href="#/">Ryan Gossling</a>
                        </div>
                        <div class="time online">
                           <i class="fa fa-check-circle"></i> Online
                        </div>
                     </div>
                  </li>
               </ul>
               <br/>
               <a href="#/" class="btn btn-success pull-right">View all users</a>
            </div>
            <div class="tab-pane fade" id="tab-products">
               <ul class="widget-products">
                  <li>
                     <a href="#/">
                     <span class="img">
                     <img class="img-thumbnail" src="https://www.bootdey.com/image/400x400/ADD8E6/000000" alt=""/>
                     </span>
                     <span class="product clearfix">
                     <span class="name">
                     Product name 1
                     </span>
                     <span class="price">
                     <i class="fa fa-money"></i> $320,00
                     </span>
                     <span class="warranty">
                     <i class="fa fa-certificate"></i> Warranty: 2 years
                     </span>
                     </span>
                     </a>
                  </li>
                  <li>
                     <a href="#/">
                     <span class="img">
                     <img class="img-thumbnail" src="https://www.bootdey.com/image/400x400/FFB6C1/000000"  alt=""/>
                     </span>
                     <span class="product clearfix">
                     <span class="name">
                     Product name 2
                     </span>
                     <span class="price">
                     <i class="fa fa-money"></i> $273,68
                     </span>
                     <span class="warranty">
                     <i class="fa fa-certificate"></i> Warranty: 2 years
                     </span>
                     </span>
                     </a>
                  </li>
                  <li>
                     <a href="#/">
                     <span class="img">
                     <img class="img-thumbnail" src="https://www.bootdey.com/image/400x400/20B2AA/000000"  alt=""/>
                     </span>
                     <span class="product clearfix">
                     <span class="name">
                     Product name 3
                     </span>
                     <span class="price">
                     <i class="fa fa-money"></i> $447,29
                     </span>
                     <span class="warranty">
                     <i class="fa fa-certificate"></i> Warranty: 4 years
                     </span>
                     </span>
                     </a>
                  </li>
                  <li>
                     <a href="#/">
                     <span class="img">
                     <img class="img-thumbnail" src="https://www.bootdey.com/image/400x400/BA55D3/000000" alt=""/>
                     </span>
                     <span class="product clearfix">
                     <span class="name">
                     Product name 4
                     </span>
                     <span class="price">
                     <i class="fa fa-money"></i> $447,29
                     </span>
                     <span class="warranty">
                     <i class="fa fa-certificate"></i> Warranty: 4 years
                     </span>
                     </span>
                     </a>
                  </li>
               </ul>
               <br/>
               <a href="#/" class="btn btn-success pull-right">View all users</a>
            </div>
            <div class="tab-pane fade" id="tab-todo">
               <ul class="widget-todo">
                  <li class="clearfix">
                     <div class="name">
                        <div class="checkbox-nice">
                           <input type="checkbox" id="todo-1"/>
                           <label for="todo-1">
                           New products introduction <span class="label label-danger">High Priority</span>
                           </label>
                        </div>
                     </div>
                  </li>
                  <li class="clearfix">
                     <div class="name">
                        <div class="checkbox-nice">
                           <input type="checkbox" id="todo-2"/>
                           <label for="todo-2">
                           Checking the stock <span class="label label-success">Low Priority</span>
                           </label>
                        </div>
                     </div>
                     <div class="actions">
                        <a href="#/" class="table-link">
                        <i class="fa fa-pencil"></i>
                        </a>
                        <a href="#/" class="table-link danger">
                        <i class="fa fa-trash-o"></i>
                        </a>
                     </div>
                  </li>
                  <li class="clearfix">
                     <div class="name">
                        <div class="checkbox-nice">
                           <input type="checkbox" id="todo-3" checked="checked"/>
                           <label for="todo-3">
                           Buying coffee <span class="label label-warning">Medium Priority</span>
                           </label>
                        </div>
                     </div>
                     <div class="actions">
                        <a href="#/" class="table-link">
                        <i class="fa fa-pencil"></i>
                        </a>
                        <a href="#/" class="table-link danger">
                        <i class="fa fa-trash-o"></i>
                        </a>
                     </div>
                  </li>
                  <li class="clearfix">
                     <div class="name">
                        <div class="checkbox-nice">
                           <input type="checkbox" id="todo-4"/>
                           <label for="todo-4">
                           New marketing campaign <span class="label label-success">Low Priority</span>
                           </label>
                        </div>
                     </div>
                  </li>
                  <li class="clearfix">
                     <div class="name">
                        <div class="checkbox-nice">
                           <input type="checkbox" id="todo-5"/>
                           <label for="todo-5">
                           Calling Mom <span class="label label-warning">Medium Priority</span>
                           </label>
                        </div>
                     </div>
                     <div class="actions">
                        <a href="#/" class="table-link badge">
                        <i class="fa fa-cog"></i>
                        </a>
                     </div>
                  </li>
                  <li class="clearfix">
                     <div class="name">
                        <div class="checkbox-nice">
                           <input type="checkbox" id="todo-6"/>
                           <label for="todo-6">
                           Ryan's birthday <span class="label label-danger">High Priority</span>
                           </label>
                        </div>
                     </div>
                  </li>
                  <li class="clearfix">
                     <div class="name">
                        <div class="checkbox-nice">
                           <input type="checkbox" id="todo-7"/>
                           <label for="todo-7">
                           Printing new flyer <span class="label label-success">Low Priority</span>
                           </label>
                        </div>
                     </div>
                  </li>
                  <li class="clearfix">
                     <div class="name">
                        <div class="checkbox-nice">
                           <input type="checkbox" id="todo-8"/>
                           <label for="todo-8">
                           Mila and Ryan wedding <span class="label label-danger">High Priority</span>
                           </label>
                        </div>
                     </div>
                  </li>
                  <li class="clearfix">
                     <div class="name">
                        <div class="checkbox-nice">
                           <input type="checkbox" id="todo-9"/>
                           <label for="todo-9">
                           Checking the stock <span class="label label-success">Low Priority</span>
                           </label>
                        </div>
                     </div>
                  </li>
               </ul>
            </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:#eee;
}
.widget-products li>a:after {
    content: "\f138";
    font-family: FontAwesome;
    font-size: 0.875em;
    font-style: normal;
    font-weight: normal;
    margin-top: 32px;
    position: absolute;
    right: 10px;
    text-decoration: inherit;
    top: 0;
    color: #cccccc;
    font-size: 1.3em;
}
.btn-success {
    background-color: #2ecc71;
    border-color: #27ae60;
}
.btn {
    border: none;
    padding: 6px 12px;
    border-bottom: 4px solid;
    -webkit-transition: border-color 0.1s ease-in-out 0s,background-color 0.1s ease-in-out 0s;
    transition: border-color 0.1s ease-in-out 0s,background-color 0.1s ease-in-out 0s;
    outline: none;
}
.checkbox-nice label {
    padding-top: 3px;
}
label {
    font-weight: 400;
    font-size: 0.875em;
}
.checkbox-nice input[type=checkbox] {
    visibility: hidden;
}
.checkbox-nice {
    position: relative;
    padding-left: 15px;
}
.widget-todo .name {
    float: left;
}
.widget-todo>li {
    border-bottom: 1px solid #ebebeb;
    padding: 10px 5px;
}
.widget-todo {
    list-style: none;
    margin: 0;
    padding: 0;
}
.widget-products li .product>.warranty>i {
    color: #f1c40f;
}
.widget-products li .product>.warranty {
    display: block;
    text-decoration: none;
    width: 50%;
    float: left;
    font-size: 0.875em;
}
.widget-products li .product>.price>i {
    color: #2ecc71;
}
.widget-products li .product>.price {
    display: block;
    text-decoration: none;
    width: 50%;
    float: left;
    font-size: 0.875em;
}
.widget-products li .product>.name {
    display: block;
    font-weight: 600;
    padding-bottom: 7px;
}
.widget-products li .product {
    display: block;
    margin-left: 90px;
    margin-top: 19px;
}
.widget-products li .img {
    display: block;
    float: left;
    text-align: center;
    width: 70px;
    height: 68px;
    overflow: hidden;
    margin-top: 7px;
}
.widget-products li>a {
    height: 88px;
    display: block;
    width: 100%;
    color: #344644;
    padding: 3px 10px;
    position: relative;
    -webkit-transition: border-color 0.1s ease-in-out 0s,background-color 0.1s ease-in-out 0s;
    transition: border-color 0.1s ease-in-out 0s,background-color 0.1s ease-in-out 0s;
}
.widget-products li {
    border-bottom: 1px solid #ebebeb;
}
.widget-products {
    list-style: none;
    margin: 0;
    padding: 0;
}
.widget-users li {
    border-bottom: 1px solid #ebebeb;
    padding: 15px 0;
    height: 96px;
}
.label {
    border-radius: 3px;
    font-size: 0.875em;
    font-weight: 600;
}
.widget-users li>.details>.time {
    color: #3498db;
    font-size: 0.75em;
    padding-bottom: 7px;
}
.widget-users li>.details>.name>a {
    color: #344644;
}
.widget-users li>.details>.name {
    font-weight: 600;
}
.widget-users li>.details {
    margin-left: 60px;
}
.widget-users li>.img {
    float: left;
    margin-top: 8px;
    width: 50px;
    height: 50px;
    overflow: hidden;
    border-radius: 50%;
}
.widget-users {
    list-style: none;
    margin: 0;
    padding: 0;
}
.tabs-wrapper.tabs-no-header .tab-content {
    padding: 0 20px 20px;
}
.nav-tabs>li>a {
    border-radius: 0;
    font-size: 1.125em;
    font-weight: 300;
    outline: none;
    color: #555;
    margin-right: 3px;
}
.nav>li {
    float: left;
}
.tabs-wrapper .nav-tabs {
    margin-bottom: 15px;
}
.nav-tabs {
    background: #d0d8de;
    border-color: transparent;
    -moz-border-radius: 3px 3px 0 0;
    -webkit-border-radius: 3px 3px 0 0;
    border-radius: 3px 3px 0 0;
}
.main-box {
    background: #FFFFFF;
    -webkit-box-shadow: 1px 1px 2px 0 #CCCCCC;
    -moz-box-shadow: 1px 1px 2px 0 #CCCCCC;
    -o-box-shadow: 1px 1px 2px 0 #CCCCCC;
    -ms-box-shadow: 1px 1px 2px 0 #CCCCCC;
    box-shadow: 1px 1px 2px 0 #CCCCCC;
    margin-bottom: 16px;
    -webikt-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

Similar snippets

React js template and ui example bs4 todo list

bs4 todo list

React js template and ui example Goal progress widget

Goal progress widget

React js template and ui example Profile overview

Profile overview

React js template and ui example bs4 favorite product profile

bs4 favorite product profile

React js template and ui example bs5 dark footer

bs5 dark footer

React js template and ui example email inbox card

email inbox card

React js template and ui example bs4 email app

bs4 email app

React js template and ui example invoice with client info description amount and pay now button

invoice with client info description amount and pay now button