React js UI example. files list widget

React js UI example and template, files list widget! . 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: files,list,4,bs4

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-6">
    <div class="card m-b-30">
        <div class="card-header">                                
            <div class="row align-items-center">
                <div class="col-8">
                    <h5 class="card-title mb-0">Important Files</h5>
                </div>
                <div class="col-4">
                    <ul class="list-inline-group text-right mb-1 pl-0">
                        <li class="list-inline-item mr-0 font-12"><i class="feather icon-more-vertical- font-20 text-primary"></i></li>
                    </ul>                                        
                </div>
            </div>
        </div>
        <div class="card-body">
            <div class="product-file-type">
                <ul class="list-unstyled">
                    <li class="media mb-3">
                        <span class="mr-3 align-self-center img-icon primary-rgba text-primary">.doc</span>
                        <div class="media-body">
                        <h5 class="font-16 mb-1">Marketing Guidelines<i class="feather icon-download-cloud float-right"></i></h5>
                        <p>.doc, 5.3 MB</p>
                        </div>
                    </li>
                    <li class="media mb-3">
                        <span class="mr-3 align-self-center img-icon success-rgba text-success">.xls</span>
                        <div class="media-body">
                        <h5 class="font-16 mb-1">Complete Product Sheet<i class="feather icon-download-cloud float-right"></i></h5>
                        <p>.xls, 2.5 MB</p>
                        </div>
                    </li>
                    <li class="media mb-3">
                        <span class="mr-3 align-self-center img-icon danger-rgba text-danger">.pdf</span>
                        <div class="media-body">
                        <h5 class="font-16 mb-1">Annual Sales Report 2018-19<i class="feather icon-download-cloud float-right"></i></h5>
                        <p>.pdf, 10.5 MB</p>
                        </div>
                    </li>
                    <li class="media">
                        <span class="mr-3 align-self-center img-icon info-rgba text-info">.zip</span>
                        <div class="media-body">
                        <h5 class="font-16 mb-1">Brand Photography<i class="feather icon-download-cloud float-right"></i></h5>
                        <p>.zip, 53.2 MB</p>
                        </div>
                    </li>
                </ul>
            </div>
        </div>
    </div>
</div>
<div class="col-md-6">
    <div class="card m-b-30">
        <div class="card-header">                                
            <div class="row align-items-center">
                <div class="col-8">
                    <h5 class="card-title mb-0">Important Files</h5>
                </div>
                <div class="col-4">
                    <ul class="list-inline-group text-right mb-1 pl-0">
                        <li class="list-inline-item mr-0 font-12"><i class="feather icon-more-vertical- font-20 text-primary"></i></li>
                    </ul>                                        
                </div>
            </div>
        </div>
        <div class="card-body">
            <div class="product-file-type">
                <ul class="list-unstyled">
                    <li class="media mb-3">
                        <span class="mr-3 align-self-center img-icon primary-rgba text-primary">.doc</span>
                        <div class="media-body">
                        <h5 class="font-16 mb-1">Marketing Guidelines<i class="feather icon-download-cloud float-right"></i></h5>
                        <p>.doc, 5.3 MB</p>
                        </div>
                    </li>
                    <li class="media mb-3">
                        <span class="mr-3 align-self-center img-icon success-rgba text-success">.xls</span>
                        <div class="media-body">
                        <h5 class="font-16 mb-1">Complete Product Sheet<i class="feather icon-download-cloud float-right"></i></h5>
                        <p>.xls, 2.5 MB</p>
                        </div>
                    </li>
                    <li class="media mb-3">
                        <span class="mr-3 align-self-center img-icon danger-rgba text-danger">.pdf</span>
                        <div class="media-body">
                        <h5 class="font-16 mb-1">Annual Sales Report 2018-19<i class="feather icon-download-cloud float-right"></i></h5>
                        <p>.pdf, 10.5 MB</p>
                        </div>
                    </li>
                    <li class="media">
                        <span class="mr-3 align-self-center img-icon info-rgba text-info">.zip</span>
                        <div class="media-body">
                        <h5 class="font-16 mb-1">Brand Photography<i class="feather icon-download-cloud float-right"></i></h5>
                        <p>.zip, 53.2 MB</p>
                        </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;
    margin-top:20px;
    color: #8A98AC;
}

.product-file-type .img-icon {
  width: 46px;
  height: 46px;
  line-height: 46px;
  font-weight: 600;
  border-radius: 50%;
  font-size: 18px;
  text-align: center;
}
/* -- Text Color -- */
.text-white {
  color: #ffffff !important;
}

.text-black {
  color: #282828 !important;
}

.text-muted {
  color: #8A98AC !important;
}

.text-primary {
  color: #6e81dc !important;
}

.text-secondary {
  color: #718093 !important;
}

.text-success {
  color: #5fc27e !important;
}

.text-danger {
  color: #f44455 !important;
}

.text-warning {
  color: #fcc100 !important;
}

.text-info {
  color: #72d0fb !important;
}

.text-light {
  color: #dcdde1 !important;
}

.text-dark {
  color: #2d3646 !important;
}


.primary-rgba {
  background-color: rgba(110, 129, 220, 0.1);
}

.secondary-rgba {
  background-color: rgba(113, 128, 147, 0.1);
}

.success-rgba {
  background-color: rgba(95, 194, 126, 0.1);
}

.danger-rgba {
  background-color: rgba(244, 68, 85, 0.1);
}

.warning-rgba {
  background-color: rgba(252, 193, 0, 0.1);
}

.info-rgba {
  background-color: rgba(114, 208, 251, 0.1);
}

.light-rgba {
  background-color: rgba(220, 221, 225, 0.1);
}

.dark-rgba {
  background-color: rgba(45, 54, 70, 0.1);
}

.card-header:first-child {
    border-radius: calc(5px - 1px) calc(5px - 1px) 0 0;
    padding: 15px 20px;
}
.card-header:first-child {
    border-radius: calc(.25rem - 1px) calc(.25rem - 1px) 0 0;
}
.card-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background-color: transparent;
}

.card {
    border: none;
    border-radius: 3px;
    background-color: #ffffff;
}
.m-b-30 {
    margin-bottom: 30px;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: #282828;
}

Similar snippets

React js template and ui example bs4 seller cards

bs4 seller cards

React js template and ui example blog page

blog page

React js template and ui example bs4 Accordion form Wizard

bs4 Accordion form Wizard

React js template and ui example contact management people directory

contact management people directory

React js template and ui example profile edit data and skills

profile edit data and skills

React js template and ui example white chat

white chat

React js template and ui example card chat list

card chat list

React js template and ui example bs4 profile contacts

bs4 profile contacts