React js UI example. widget user list

React js UI example and template, widget user 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: users,list,widget

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-md-5">
            <div class="widget">
                <div class="widget-content">
                    <ul class="widget-user-list">
                        <li><a href="#/"><img src="https://bootdey.com/img/Content/avatar/avatar7.png" alt=""/></a></li>
                        <li><a href="#/"><img src="https://bootdey.com/img/Content/avatar/avatar6.png" alt=""/></a></li>
                        <li><a href="#/"><img src="https://bootdey.com/img/Content/avatar/avatar1.png" alt=""/></a></li>
                        <li><a href="#/"><img src="https://bootdey.com/img/Content/avatar/avatar2.png" alt=""/></a></li>
                        <li><a href="#/"><img src="https://bootdey.com/img/Content/avatar/avatar3.png" alt=""/></a></li>
                        <li><a href="#/"><img src="https://bootdey.com/img/Content/avatar/avatar4.png" alt=""/></a></li>
                        <li><a href="#/"><img src="https://bootdey.com/img/Content/avatar/avatar5.png" alt=""/></a></li>
                        <li class="number"><a href="#/">+26</a></li>
                    </ul>
                </div>
            </div>
    	</div>
        
        <div class="col-md-5">
            <div class="widget">
                <div class="widget-content">
                    <ul class="widget-user-list">
                        <li><a href="#/"><img src="https://bootdey.com/img/Content/avatar/avatar6.png" alt=""/></a></li>
                        <li><a href="#/"><img src="https://bootdey.com/img/Content/avatar/avatar1.png" alt=""/></a></li>
                        <li><a href="#/"><img src="https://bootdey.com/img/Content/avatar/avatar2.png" alt=""/></a></li>
                        <li><a href="#/"><img src="https://bootdey.com/img/Content/avatar/avatar3.png" alt=""/></a></li>
                        <li><a href="#/"><img src="https://bootdey.com/img/Content/avatar/avatar4.png" alt=""/></a></li>
                        <li><a href="#/"><img src="https://bootdey.com/img/Content/avatar/avatar5.png" alt=""/></a></li>
                        <li><a href="#/"><img src="https://bootdey.com/img/Content/avatar/avatar3.png" alt=""/></a></li>
                        <li class="number"><a href="#/">+26</a></li>
                    </ul>
                </div>
            </div>
    	</div>
	</div>
    
    <div class="row">
        <div class="col-md-5">
            <div class="widget">
                <div class="widget-content">
                    <ul class="widget-user-list">
                        <li><a href="#/"><img src="https://bootdey.com/img/Content/avatar/avatar8.png" alt=""/></a></li>
                        <li><a href="#/"><img src="https://bootdey.com/img/Content/avatar/avatar7.png" alt=""/></a></li>
                        <li><a href="#/"><img src="https://bootdey.com/img/Content/avatar/avatar6.png" alt=""/></a></li>
                        <li><a href="#/"><img src="https://bootdey.com/img/Content/avatar/avatar5.png" alt=""/></a></li>
                        <li><a href="#/"><img src="https://bootdey.com/img/Content/avatar/avatar4.png" alt=""/></a></li>
                        <li><a href="#/"><img src="https://bootdey.com/img/Content/avatar/avatar3.png" alt=""/></a></li>
                        <li><a href="#/"><img src="https://bootdey.com/img/Content/avatar/avatar1.png" alt=""/></a></li>
                        <li class="number"><a href="#/">+26</a></li>
                    </ul>
                </div>
            </div>
    	</div>
        
        <div class="col-md-5">
            <div class="widget">
                <div class="widget-content">
                    <ul class="widget-user-list">
                        <li><a href="#/"><img src="https://bootdey.com/img/Content/avatar/avatar7.png" alt=""/></a></li>
                        <li><a href="#/"><img src="https://bootdey.com/img/Content/avatar/avatar6.png" alt=""/></a></li>
                        <li><a href="#/"><img src="https://bootdey.com/img/Content/avatar/avatar1.png" alt=""/></a></li>
                        <li><a href="#/"><img src="https://bootdey.com/img/Content/avatar/avatar2.png" alt=""/></a></li>
                        <li><a href="#/"><img src="https://bootdey.com/img/Content/avatar/avatar3.png" alt=""/></a></li>
                        <li><a href="#/"><img src="https://bootdey.com/img/Content/avatar/avatar4.png" alt=""/></a></li>
                        <li><a href="#/"><img src="https://bootdey.com/img/Content/avatar/avatar5.png" alt=""/></a></li>
                        <li class="number"><a href="#/">+26</a></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{
    background:#dcdcdc;
    margin-top:20px;
}
.widget {
    background: #fff;
    margin-bottom: .75rem;
    display: block;
    position: relative;
    margin-top:40px;
}
.widget-user-list > li {
    display: inline-block;
}
.widget-user-list {
    padding: 0;
    list-style-type: none;
}
.widget-user-list {
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
}
.widget-user-list > li + li {
    margin-left: -1.125rem;
}
.widget-user-list > li a {
    display: block;
    border: 0.125rem solid #fff;
    overflow: hidden;
    width: 2.25rem;
    height: 2.25rem;
    margin-bottom: -0.3125rem;
    line-height: 2rem;
    text-align: center;
    text-decoration: none;
    -webkit-border-radius: 2.25rem;
    -moz-border-radius: 2.25rem;
    border-radius: 2.25rem;
}
.widget-user-list > li a img {
    display: block;
    max-width: 100%;
}
.widget-user-list > li.number a {
    background: #c7c7cc;
    color: #fff;
}
.widget-content, .widget-footer {
    padding: .625rem;
    background: #fff;
    position: relative;
}

Similar snippets

React js template and ui example News Widget

News Widget

React js template and ui example bs4 profile with timeline posts

bs4 profile with timeline posts

React js template and ui example Order history

Order history

React js template and ui example User list cards

User list cards

React js template and ui example bs5 dark footer

bs5 dark footer

React js template and ui example bs4 card widget

bs4 card widget

React js template and ui example user profile bio graph and total sales

user profile bio graph and total sales

React js template and ui example table user list

table user list