React js UI example. bs4 user card task list

React js UI example and template, bs4 user card task list! . 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: bs4,tasks,list,user,card

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">
    <div class="row">
        <div class="col-xl-4 col-md-6">
            <div class="card">
                <div class="card-block">
                    <div class="row align-items-center justify-content-center">
                        <div class="col-auto">
                            <img class="img-fluid rounded-circle" style={{/*width:70px;*/}} src="https://bootdey.com/img/Content/avatar/avatar6.png" alt="dashboard-user"/>
                        </div>
                        <div class="col">
                            <h5>John Doe</h5>
                            <span>UX Designer</span>
                        </div>
                    </div>
                    <ul class="task-list">
                        <li>
                            <i class="task-icon bg-c-green"></i>
                            <h6>Anton Knudsen<span class="float-right text-muted">14 MAY</span></h6>
                            <p class="text-muted">Lorem ipsum is dolorem…</p>
                        </li>
                        <li>
                            <i class="task-icon bg-c-green"></i>
                            <h6>Anton Knudsen<span class="float-right text-muted">14 MAY</span></h6>
                            <p class="text-muted">Lorem ipsum is dolorem…</p>
                        </li>
                        <li>
                            <i class="task-icon bg-c-green"></i>
                            <h6>Anton Knudsen<span class="float-right text-muted">14 MAY</span></h6>
                            <p class="text-muted">Lorem ipsum is dolorem…</p>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
        <div class="col-xl-4 col-md-6">
            <div class="card">
                <div class="card-block">
                    <div class="row align-items-center justify-content-center">
                        <div class="col-auto">
                            <img class="img-fluid rounded-circle" style={{/*width:70px;*/}} src="https://bootdey.com/img/Content/avatar/avatar1.png" alt="dashboard-user"/>
                        </div>
                        <div class="col">
                            <h5>User Doe</h5>
                            <span>UX Designer</span>
                        </div>
                    </div>
                    <ul class="task-list">
                        <li>
                            <i class="task-icon bg-c-green"></i>
                            <h6>Anton Knudsen<span class="float-right text-muted">14 MAY</span></h6>
                            <p class="text-muted">Lorem ipsum is dolorem…</p>
                        </li>
                        <li>
                            <i class="task-icon bg-c-green"></i>
                            <h6>Anton Knudsen<span class="float-right text-muted">14 MAY</span></h6>
                            <p class="text-muted">Lorem ipsum is dolorem…</p>
                        </li>
                        <li>
                            <i class="task-icon bg-c-green"></i>
                            <h6>Anton Knudsen<span class="float-right text-muted">14 MAY</span></h6>
                            <p class="text-muted">Lorem ipsum is dolorem…</p>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
	</div>
    <div class="row">
        <div class="col-xl-4 col-md-6">
            <div class="card">
                <div class="card-block">
                    <div class="row align-items-center justify-content-center">
                        <div class="col-auto">
                            <img class="img-fluid rounded-circle" style={{/*width:70px;*/}} src="https://bootdey.com/img/Content/avatar/avatar3.png" alt="dashboard-user"/>
                        </div>
                        <div class="col">
                            <h5>John Doe</h5>
                            <span>UX Designer</span>
                        </div>
                    </div>
                    <ul class="task-list">
                        <li>
                            <i class="task-icon bg-c-green"></i>
                            <h6>Anton Knudsen<span class="float-right text-muted">14 MAY</span></h6>
                            <p class="text-muted">Lorem ipsum is dolorem…</p>
                        </li>
                        <li>
                            <i class="task-icon bg-c-green"></i>
                            <h6>Anton Knudsen<span class="float-right text-muted">14 MAY</span></h6>
                            <p class="text-muted">Lorem ipsum is dolorem…</p>
                        </li>
                        <li>
                            <i class="task-icon bg-c-green"></i>
                            <h6>Anton Knudsen<span class="float-right text-muted">14 MAY</span></h6>
                            <p class="text-muted">Lorem ipsum is dolorem…</p>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
        <div class="col-xl-4 col-md-6">
            <div class="card">
                <div class="card-block">
                    <div class="row align-items-center justify-content-center">
                        <div class="col-auto">
                            <img class="img-fluid rounded-circle" style={{/*width:70px;*/}} src="https://bootdey.com/img/Content/avatar/avatar2.png" alt="dashboard-user"/>
                        </div>
                        <div class="col">
                            <h5>User Doe</h5>
                            <span>UX Designer</span>
                        </div>
                    </div>
                    <ul class="task-list">
                        <li>
                            <i class="task-icon bg-c-green"></i>
                            <h6>Anton Knudsen<span class="float-right text-muted">14 MAY</span></h6>
                            <p class="text-muted">Lorem ipsum is dolorem…</p>
                        </li>
                        <li>
                            <i class="task-icon bg-c-green"></i>
                            <h6>Anton Knudsen<span class="float-right text-muted">14 MAY</span></h6>
                            <p class="text-muted">Lorem ipsum is dolorem…</p>
                        </li>
                        <li>
                            <i class="task-icon bg-c-green"></i>
                            <h6>Anton Knudsen<span class="float-right text-muted">14 MAY</span></h6>
                            <p class="text-muted">Lorem ipsum is dolorem…</p>
                        </li>
                    </ul>
                </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;
    background:#f1f1f1;
}

.task-list {
  list-style: none;
  position: relative;
  margin: 0;
  padding: 30px 0 0;
}
.task-list:after {
  content: "";
  position: absolute;
  background: #ecedef;
  height: 100%;
  width: 2px;
  top: 0;
  left: 30px;
  z-index: 1;
}
.task-list li {
  margin-bottom: 30px;
  padding-left: 55px;
  position: relative;
}
.task-list li:last-child {
  margin-bottom: 0;
}
.task-list li .task-icon {
  position: absolute;
  left: 22px;
  top: 13px;
  border-radius: 50%;
  padding: 2px;
  width: 17px;
  height: 17px;
  z-index: 2;
  -webkit-box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.2);
          box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.2);
}



.card {
  border-radius: 0;
  -webkit-box-shadow: 0 1px 20px 0 rgba(69, 90, 100, 0.08);
          box-shadow: 0 1px 20px 0 rgba(69, 90, 100, 0.08);
  border: none;
  margin-bottom: 30px;
  -webkit-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}
.card .card-header {
  background-color: transparent;
  border-bottom: 1px solid #f1f1f1;
  padding: 20px 25px;
  position: relative;
}
.card .card-header h5 {
  margin-bottom: 0;
  color: #000;
  font-size: 17px;
  font-weight: 400;
  display: inline-block;
  margin-right: 10px;
  line-height: 1.1;
  position: relative;
}
.card .card-header h5:after {
  content: "";
  background-color: #04a9f5;
  position: absolute;
  left: -25px;
  top: 0;
  width: 4px;
  height: 20px;
}
.card .card-header.borderless {
  border-bottom: none;
}
.card .card-header.borderless h5:after {
  display: none;
}
.card .card-header .card-header-right {
  right: 10px;
  top: 10px;
  display: inline-block;
  float: right;
  padding: 0;
  position: absolute;
}
@media only screen and (max-width: 575px) {
  .card .card-header .card-header-right {
    display: none;
  }
}
.card .card-header .card-header-right .dropdown-menu {
  margin-top: 0;
}
.card .card-header .card-header-right .dropdown-menu li a {
  font-size: 14px;
  text-transform: capitalize;
}
.card .card-header .card-header-right .btn.dropdown-toggle {
  border: none;
  background: transparent;
  -webkit-box-shadow: none;
          box-shadow: none;
  color: #888;
}
.card .card-header .card-header-right .btn.dropdown-toggle i {
  margin-right: 0;
}
.card .card-header .card-header-right .btn.dropdown-toggle:after {
  display: none;
}
.card .card-header .card-header-right .btn.dropdown-toggle:focus {
  -webkit-box-shadow: none;
          box-shadow: none;
  outline: none;
}
.card .card-footer {
  border-top: 1px solid #f1f1f1;
  background: transparent;
  padding: 25px;
}
.card .card-block,
.card .card-body {
  padding: 30px 25px;
}
.card.card-load {
  position: relative;
  overflow: hidden;
}
.card.card-load .card-loader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background-color: rgba(255, 255, 255, 0.7);
  z-index: 999;
}
.card.card-load .card-loader i {
  margin: 0 auto;
  color: #04a9f5;
  font-size: 24px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.card.full-card {
  z-index: 99999;
  border-radius: 0;
}

.bg-c-green {
    background: #1de9b6;
}

h6 {
    font-size: 14px;
}

Similar snippets

React js template and ui example bs4 beta profile and timeline

bs4 beta profile and timeline

React js template and ui example social blog post widget with commets

social blog post widget with commets

React js template and ui example project list

project list

React js template and ui example bs4 contact cards

bs4 contact cards

React js template and ui example bs5 dark footer

bs5 dark footer

React js template and ui example bs5 forum list

bs5 forum list

React js template and ui example bs4 profile settings page

bs4 profile settings page

React js template and ui example Clean chat box

Clean chat box