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" href="https://cdnjs.cloudflare.com/ajax/libs/MaterialDesign-Webfont/5.3.45/css/materialdesignicons.css" integrity="sha256-NAxhqDvtY0l4xn+YVa6WjAcmd94NNfttjNsDmNatFVc=" crossorigin="anonymous" />
<link href='https://unpkg.com/[email protected]/css/boxicons.min.css' rel='stylesheet'/>
<div class="container">
<div class="row">
<div class="col-xl-12">
<div class="card">
<div class="card-body">
<div class="row mb-3">
<div class="col-lg-4 col-sm-6">
<div class="search-box mb-2 me-2">
<div class="position-relative">
<input type="text" class="form-control bg-light border-light rounded" placeholder="Search..."/>
<svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewBox="0 0 24 24" class="eva eva-search-outline search-icon"><g data-name="Layer 2"><g data-name="search"><rect width="24" height="24" opacity="0"></rect><path d="M20.71 19.29l-3.4-3.39A7.92 7.92 0 0 0 19 11a8 8 0 1 0-8 8 7.92 7.92 0 0 0 4.9-1.69l3.39 3.4a1 1 0 0 0 1.42 0 1 1 0 0 0 0-1.42zM5 11a6 6 0 1 1 6 6 6 6 0 0 1-6-6z"></path></g></g></svg>
</div>
</div>
</div>
<div class="col-lg-8 col-sm-6">
<div class="mt-4 mt-sm-0 d-flex align-items-center justify-content-sm-end">
<div class="mb-2 me-2">
<div class="dropdown">
<button class="btn btn-primary dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<i class="mdi mdi-plus me-1"></i> Create New
</button>
<div class="dropdown-menu dropdown-menu-end">
<a class="dropdown-item" href="#/"><i class="mdi mdi-folder-outline me-1"></i> Folder</a>
<a class="dropdown-item" href="#/"><i class="mdi mdi-file-outline me-1"></i> File</a>
</div>
</div>
</div>
<div class="dropdown mb-0">
<a class="btn btn-link text-muted dropdown-toggle p-1 mt-n2" role="button" data-bs-toggle="dropdown" aria-haspopup="true">
<i class="mdi mdi-dots-vertical font-size-20"></i>
</a>
<div class="dropdown-menu dropdown-menu-end">
<a class="dropdown-item" href="#/">Share Files</a>
<a class="dropdown-item" href="#/">Share with me</a>
<a class="dropdown-item" href="#/">Other Actions</a>
</div>
</div>
</div>
</div>
</div>
<h5 class="font-size-16 me-3 mb-0">My Files</h5>
<div class="row mt-4">
<div class="col-xl-4 col-sm-6">
<div class="card shadow-none border">
<div class="card-body p-3">
<div class="">
<div class="dropdown float-end">
<a class="text-muted dropdown-toggle font-size-16" href="#/" role="button" data-bs-toggle="dropdown" aria-haspopup="true">
<i class="bx bx-dots-vertical-rounded font-size-20"></i>
</a>
<div class="dropdown-menu dropdown-menu-end">
<a class="dropdown-item" href="#/">Edit</a>
<a class="dropdown-item" href="#/">Action</a>
<a class="dropdown-item" href="#/">Remove</a>
</div>
</div>
<div class="d-flex align-items-center">
<div class="avatar align-self-center me-3">
<div class="avatar-title rounded bg-soft-primary text-primary font-size-24">
<i class="mdi mdi-google-drive"></i>
</div>
</div>
<div class="flex-1">
<h5 class="font-size-15 mb-1">Google Drive</h5>
<a href="" class="font-size-13 text-muted"><u>View Folder</u></a>
</div>
</div>
<div class="mt-3 pt-1">
<div class="d-flex justify-content-between">
<p class="text-muted font-size-13 mb-1">20GB</p>
<p class="text-muted font-size-13 mb-1">50GB used</p>
</div>
<div class="progress animated-progess custom-progress">
<div class="progress-bar bg-gradient bg-primary" role="progressbar" style={{/*width: 90%*/}} aria-valuenow="90" aria-valuemin="0" aria-valuemax="90">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-xl-4 col-sm-6">
<div class="card shadow-none border">
<div class="card-body p-3">
<div class="">
<div class="dropdown float-end">
<a class="text-muted dropdown-toggle font-size-16" href="#/" role="button" data-bs-toggle="dropdown" aria-haspopup="true">
<i class="bx bx-dots-vertical-rounded font-size-20"></i>
</a>
<div class="dropdown-menu dropdown-menu-end">
<a class="dropdown-item" href="#/">Edit</a>
<a class="dropdown-item" href="#/">Action</a>
<a class="dropdown-item" href="#/">Remove</a>
</div>
</div>
<div class="d-flex align-items-center">
<div class="avatar align-self-center me-3">
<div class="avatar-title rounded bg-soft-info text-info font-size-24">
<i class="mdi mdi-dropbox"></i>
</div>
</div>
<div class="flex-1">
<h5 class="font-size-15 mb-1">Dropbox</h5>
<a href="" class="font-size-13 text-muted"><u>View Folder</u></a>
</div>
</div>
<div class="mt-3 pt-1">
<div class="d-flex justify-content-between">
<p class="text-muted font-size-13 mb-1">20GB</p>
<p class="text-muted font-size-13 mb-1">50GB used</p>
</div>
<div class="progress animated-progess custom-progress">
<div class="progress-bar bg-gradient bg-info" role="progressbar" style={{/*width: 90%*/}} aria-valuenow="90" aria-valuemin="0" aria-valuemax="90">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-xl-4 col-sm-6">
<div class="card shadow-none border">
<div class="card-body p-3">
<div class="">
<div class="dropdown float-end">
<a class="text-muted dropdown-toggle font-size-16" href="#/" role="button" data-bs-toggle="dropdown" aria-haspopup="true">
<i class="bx bx-dots-vertical-rounded font-size-20"></i>
</a>
<div class="dropdown-menu dropdown-menu-end">
<a class="dropdown-item" href="#/">Edit</a>
<a class="dropdown-item" href="#/">Action</a>
<a class="dropdown-item" href="#/">Remove</a>
</div>
</div>
<div class="d-flex align-items-center">
<div class="avatar align-self-center me-3">
<div class="avatar-title rounded bg-soft-primary text-primary font-size-24">
<i class="mdi mdi-apple-icloud"></i>
</div>
</div>
<div class="flex-1">
<h5 class="font-size-15 mb-1">One Drive</h5>
<a href="" class="font-size-13 text-muted"><u>View Folder</u></a>
</div>
</div>
<div class="mt-3 pt-1">
<div class="d-flex justify-content-between">
<p class="text-muted font-size-13 mb-1">20GB</p>
<p class="text-muted font-size-13 mb-1">50GB used</p>
</div>
<div class="progress animated-progess custom-progress">
<div class="progress-bar bg-gradient bg-primary" role="progressbar" style={{/*width: 90%*/}} aria-valuenow="90" aria-valuemin="0" aria-valuemax="90">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<h5 class="font-size-16 me-3 mb-0">Folders</h5>
<div class="row mt-4">
<div class="col-xl-4 col-sm-6">
<div class="card shadow-none border">
<div class="card-body p-3">
<div class="">
<div class="d-flex justify-content-between align-items-center">
<div>
<i class="bx bxs-folder h1 mb-0 text-warning"></i>
</div>
<div class="avatar-group">
<div class="avatar-group-item">
<a href="javascript: void(0);" class="d-inline-block">
<img src="https://bootdey.com/img/Content/avatar/avatar1.png" alt="" class="rounded-circle avatar-sm"/>
</a>
</div>
<div class="avatar-group-item">
<a href="javascript: void(0);" class="d-inline-block">
<img src="https://bootdey.com/img/Content/avatar/avatar2.png" alt="" class="rounded-circle avatar-sm"/>
</a>
</div>
<div class="avatar-group-item">
<a href="javascript: void(0);" class="d-inline-block">
<div class="avatar-sm">
<span class="avatar-title rounded-circle bg-success text-white font-size-16">
A
</span>
</div>
</a>
</div>
</div>
</div>
<div class="d-flex mt-3">
<div class="overflow-hidden me-auto">
<h5 class="font-size-15 text-truncate mb-1"><a href="javascript: void(0);" class="text-body">Analytics</a></h5>
<p class="text-muted text-truncate mb-0">12 Files</p>
</div>
<div class="align-self-end ms-2">
<p class="text-muted mb-0 font-size-13"><i class="mdi mdi-clock"></i> 15 min ago</p>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-xl-4 col-sm-6">
<div class="card shadow-none border">
<div class="card-body p-3">
<div class="">
<div class="d-flex justify-content-between align-items-center">
<div>
<i class="bx bxs-folder h1 mb-0 text-warning"></i>
</div>
<div class="avatar-group">
<div class="avatar-group-item">
<a href="javascript: void(0);" class="d-inline-block">
<img src="https://bootdey.com/img/Content/avatar/avatar3.png" alt="" class="rounded-circle avatar-sm"/>
</a>
</div>
<div class="avatar-group-item">
<a href="javascript: void(0);" class="d-inline-block">
<img src="https://bootdey.com/img/Content/avatar/avatar4.png" alt="" class="rounded-circle avatar-sm"/>
</a>
</div>
</div>
</div>
<div class="d-flex mt-3">
<div class="overflow-hidden me-auto">
<h5 class="font-size-15 text-truncate mb-1"><a href="javascript: void(0);" class="text-body">Sketch Design</a></h5>
<p class="text-muted text-truncate mb-0">235 Files</p>
</div>
<div class="align-self-end ms-2">
<p class="text-muted mb-0 font-size-13"><i class="mdi mdi-clock"></i> 23 min ago</p>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-xl-4 col-sm-6">
<div class="card shadow-none border">
<div class="card-body p-3">
<div class="">
<div class="d-flex justify-content-between align-items-center">
<div>
<i class="bx bxs-folder h1 mb-0 text-warning"></i>
</div>
<div class="avatar-group">
<div class="avatar-group-item">
<a href="javascript: void(0);" class="d-inline-block">
<div class="avatar-sm">
<span class="avatar-title rounded-circle bg-info text-white font-size-16">
K
</span>
</div>
</a>
</div>
<div class="avatar-group-item">
<a href="javascript: void(0);" class="d-inline-block">
<img src="https://bootdey.com/img/Content/avatar/avatar5.png" alt="" class="rounded-circle avatar-sm"/>
</a>
</div>
</div>
</div>
<div class="d-flex mt-3">
<div class="overflow-hidden me-auto">
<h5 class="font-size-15 text-truncate mb-1"><a href="javascript: void(0);" class="text-body">Applications</a></h5>
<p class="text-muted text-truncate mb-0">20 Files</p>
</div>
<div class="align-self-end ms-2">
<p class="text-muted mb-0 font-size-13"><i class="mdi mdi-clock"></i> 45 min ago</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="d-flex flex-wrap">
<h5 class="font-size-16 me-3">Recent Files</h5>
<div class="ms-auto">
<a href="javascript: void(0);" class="fw-medium text-reset">View All</a>
</div>
</div>
<hr class="mt-2"/>
<div class="table-responsive">
<table class="table align-middle table-nowrap table-hover mb-0">
<thead class="table-light">
<tr>
<th scope="col">Name</th>
<th scope="col">Date modified</th>
<th scope="col">Size</th>
<th scope="col" colspan="2">Members</th>
</tr>
</thead>
<tbody>
<tr>
<td><a href="javascript: void(0);" class="text-dark fw-medium"><i class="mdi mdi-file-document font-size-16 align-middle text-primary me-2"></i> index.html</a></td>
<td>12-10-2020, 09:45</td>
<td>09 KB</td>
<td>
<div class="avatar-group">
<div class="avatar-group-item">
<a href="javascript: void(0);" class="d-inline-block">
<img src="https://bootdey.com/img/Content/avatar/avatar6.png" alt="" class="rounded-circle avatar-sm"/>
</a>
</div>
<div class="avatar-group-item">
<a href="javascript: void(0);" class="d-inline-block">
<img src="https://bootdey.com/img/Content/avatar/avatar7.png" alt="" class="rounded-circle avatar-sm"/>
</a>
</div>
<div class="avatar-group-item">
<a href="javascript: void(0);" class="d-inline-block">
<div class="avatar-sm">
<span class="avatar-title rounded-circle bg-success text-white font-size-16">
A
</span>
</div>
</a>
</div>
</div>
</td>
<td>
<div class="dropdown">
<a class="font-size-16 text-muted" role="button" data-bs-toggle="dropdown" aria-haspopup="true">
<i class="mdi mdi-dots-horizontal"></i>
</a>
<div class="dropdown-menu dropdown-menu-end">
<a class="dropdown-item" href="#/">Open</a>
<a class="dropdown-item" href="#/">Edit</a>
<a class="dropdown-item" href="#/">Rename</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="#/">Remove</a>
</div>
</div>
</td>
</tr>
<tr>
<td><a href="javascript: void(0);" class="text-dark fw-medium"><i class="mdi mdi-folder-zip font-size-16 align-middle text-warning me-2"></i> Project-A.zip</a></td>
<td>11-10-2020, 17:05</td>
<td>115 KB</td>
<td>
<div class="avatar-group">
<div class="avatar-group-item">
<a href="javascript: void(0);" class="d-inline-block">
<img src="https://bootdey.com/img/Content/avatar/avatar1.png" alt="" class="rounded-circle avatar-sm"/>
</a>
</div>
<div class="avatar-group-item">
<a href="javascript: void(0);" class="d-inline-block">
<img src="https://bootdey.com/img/Content/avatar/avatar2.png" alt="" class="rounded-circle avatar-sm"/>
</a>
</div>
</div>
</td>
<td>
<div class="dropdown">
<a class="font-size-16 text-muted" role="button" data-bs-toggle="dropdown" aria-haspopup="true">
<i class="mdi mdi-dots-horizontal"></i>
</a>
<div class="dropdown-menu dropdown-menu-end">
<a class="dropdown-item" href="#/">Open</a>
<a class="dropdown-item" href="#/">Edit</a>
<a class="dropdown-item" href="#/">Rename</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="#/">Remove</a>
</div>
</div>
</td>
</tr>
<tr>
<td><a href="javascript: void(0);" class="text-dark fw-medium"><i class="mdi mdi-image font-size-16 align-middle text-muted me-2"></i> Img-1.jpeg</a></td>
<td>11-10-2020, 13:26</td>
<td>86 KB</td>
<td>
<div class="avatar-group">
<div class="avatar-group-item">
<a href="javascript: void(0);" class="d-inline-block">
<div class="avatar-sm">
<span class="avatar-title rounded-circle bg-info text-white font-size-16">
K
</span>
</div>
</a>
</div>
<div class="avatar-group-item">
<a href="javascript: void(0);" class="d-inline-block">
<img src="https://bootdey.com/img/Content/avatar/avatar3.png" alt="" class="rounded-circle avatar-sm"/>
</a>
</div>
</div>
</td>
<td>
<div class="dropdown">
<a class="font-size-16 text-muted" role="button" data-bs-toggle="dropdown" aria-haspopup="true">
<i class="mdi mdi-dots-horizontal"></i>
</a>
<div class="dropdown-menu dropdown-menu-end">
<a class="dropdown-item" href="#/">Open</a>
<a class="dropdown-item" href="#/">Edit</a>
<a class="dropdown-item" href="#/">Rename</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="#/">Remove</a>
</div>
</div>
</td>
</tr>
<tr>
<td><a href="javascript: void(0);" class="text-dark fw-medium"><i class="mdi mdi-text-box font-size-16 align-middle text-muted me-2"></i> update list.txt</a></td>
<td>10-10-2020, 11:32</td>
<td>08 KB</td>
<td>
<div class="avatar-group">
<div class="avatar-group-item">
<a href="javascript: void(0);" class="d-inline-block">
<img src="https://bootdey.com/img/Content/avatar/avatar4.png" alt="" class="rounded-circle avatar-sm"/>
</a>
</div>
<div class="avatar-group-item">
<a href="javascript: void(0);" class="d-inline-block">
<img src="https://bootdey.com/img/Content/avatar/avatar5.png" alt="" class="rounded-circle avatar-sm"/>
</a>
</div>
<div class="avatar-group-item">
<a href="javascript: void(0);" class="d-inline-block">
<img src="https://bootdey.com/img/Content/avatar/avatar1.png" alt="" class="rounded-circle avatar-sm"/>
</a>
</div>
</div>
</td>
<td>
<div class="dropdown">
<a class="font-size-16 text-muted" role="button" data-bs-toggle="dropdown" aria-haspopup="true">
<i class="mdi mdi-dots-horizontal"></i>
</a>
<div class="dropdown-menu dropdown-menu-end">
<a class="dropdown-item" href="#/">Open</a>
<a class="dropdown-item" href="#/">Edit</a>
<a class="dropdown-item" href="#/">Rename</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="#/">Remove</a>
</div>
</div>
</td>
</tr>
<tr>
<td><a href="javascript: void(0);" class="text-dark fw-medium"><i class="mdi mdi-folder font-size-16 align-middle text-warning me-2"></i> Project B</a></td>
<td>10-10-2020, 10:51</td>
<td>72 KB</td>
<td>
<div class="avatar-group">
<div class="avatar-group-item">
<a href="javascript: void(0);" class="d-inline-block">
<img src="https://bootdey.com/img/Content/avatar/avatar1.png" alt="" class="rounded-circle avatar-sm"/>
</a>
</div>
<div class="avatar-group-item">
<a href="javascript: void(0);" class="d-inline-block">
<img src="https://bootdey.com/img/Content/avatar/avatar3.png" alt="" class="rounded-circle avatar-sm"/>
</a>
</div>
<div class="avatar-group-item">
<a href="javascript: void(0);" class="d-inline-block">
<div class="avatar-sm">
<span class="avatar-title rounded-circle bg-danger text-white font-size-16">
3+
</span>
</div>
</a>
</div>
</div>
</td>
<td>
<div class="dropdown">
<a class="font-size-16 text-muted" role="button" data-bs-toggle="dropdown" aria-haspopup="true">
<i class="mdi mdi-dots-horizontal"></i>
</a>
<div class="dropdown-menu dropdown-menu-end">
<a class="dropdown-item" href="#/">Open</a>
<a class="dropdown-item" href="#/">Edit</a>
<a class="dropdown-item" href="#/">Rename</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="#/">Remove</a>
</div>
</div>
</td>
</tr>
<tr>
<td><a href="javascript: void(0);" class="text-dark fw-medium"><i class="mdi mdi-text-box font-size-16 align-middle text-muted me-2"></i> Changes list.txt</a></td>
<td>09-10-2020, 17:05</td>
<td>07 KB</td>
<td>
<div class="avatar-group">
<div class="avatar-group-item">
<a href="javascript: void(0);" class="d-inline-block">
<img src="https://bootdey.com/img/Content/avatar/avatar4.png" alt="" class="rounded-circle avatar-sm"/>
</a>
</div>
<div class="avatar-group-item">
<a href="javascript: void(0);" class="d-inline-block">
<img src="https://bootdey.com/img/Content/avatar/avatar6.png" alt="" class="rounded-circle avatar-sm"/>
</a>
</div>
</div>
</td>
<td>
<div class="dropdown">
<a class="font-size-16 text-muted" role="button" data-bs-toggle="dropdown" aria-haspopup="true">
<i class="mdi mdi-dots-horizontal"></i>
</a>
<div class="dropdown-menu dropdown-menu-end">
<a class="dropdown-item" href="#/">Open</a>
<a class="dropdown-item" href="#/">Edit</a>
<a class="dropdown-item" href="#/">Rename</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="#/">Remove</a>
</div>
</div>
</td>
</tr>
<tr>
<td><a href="javascript: void(0);" class="text-dark fw-medium"><i class="mdi mdi-image font-size-16 align-middle text-success me-2"></i> Img-2.png</a></td>
<td>09-10-2020, 15:12</td>
<td>31 KB</td>
<td>
<div class="avatar-group">
<div class="avatar-group-item">
<a href="javascript: void(0);" class="d-inline-block">
<div class="avatar-sm">
<span class="avatar-title rounded-circle bg-pink text-white font-size-16">
L
</span>
</div>
</a>
</div>
<div class="avatar-group-item">
<a href="javascript: void(0);" class="d-inline-block">
<img src="https://bootdey.com/img/Content/avatar/avatar2.png" alt="" class="rounded-circle avatar-sm"/>
</a>
</div>
</div>
</td>
<td>
<div class="dropdown">
<a class="font-size-16 text-muted" role="button" data-bs-toggle="dropdown" aria-haspopup="true">
<i class="mdi mdi-dots-horizontal"></i>
</a>
<div class="dropdown-menu dropdown-menu-end">
<a class="dropdown-item" href="#/">Open</a>
<a class="dropdown-item" href="#/">Edit</a>
<a class="dropdown-item" href="#/">Rename</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="#/">Remove</a>
</div>
</div>
</td>
</tr>
<tr>
<td><a href="javascript: void(0);" class="text-dark fw-medium"><i class="mdi mdi-folder font-size-16 align-middle text-warning me-2"></i> Project C</a></td>
<td>09-10-2020, 10:11</td>
<td>20 KB</td>
<td>
<div class="avatar-group">
<div class="avatar-group-item">
<a href="javascript: void(0);" class="d-inline-block">
<img src="https://bootdey.com/img/Content/avatar/avatar4.png" alt="" class="rounded-circle avatar-sm"/>
</a>
</div>
<div class="avatar-group-item">
<a href="javascript: void(0);" class="d-inline-block">
<img src="https://bootdey.com/img/Content/avatar/avatar5.png" alt="" class="rounded-circle avatar-sm"/>
</a>
</div>
<div class="avatar-group-item">
<a href="javascript: void(0);" class="d-inline-block">
<div class="avatar-sm">
<span class="avatar-title rounded-circle bg-success text-white font-size-16">
A
</span>
</div>
</a>
</div>
<div class="avatar-group-item">
<a href="javascript: void(0);" class="d-inline-block">
<img src="https://bootdey.com/img/Content/avatar/avatar2.png" alt="" class="rounded-circle avatar-sm"/>
</a>
</div>
</div>
</td>
<td>
<div class="dropdown">
<a class="font-size-16 text-muted" role="button" data-bs-toggle="dropdown" aria-haspopup="true">
<i class="mdi mdi-dots-horizontal"></i>
</a>
<div class="dropdown-menu dropdown-menu-end">
<a class="dropdown-item" href="#/">Open</a>
<a class="dropdown-item" href="#/">Edit</a>
<a class="dropdown-item" href="#/">Rename</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="#/">Remove</a>
</div>
</div>
</td>
</tr>
<tr>
<td><a href="javascript: void(0);" class="text-dark fw-medium"><i class="bx bxs-file font-size-16 align-middle text-primary me-2"></i> starter-page.html</a></td>
<td>08-10-2020, 03:22</td>
<td>11 KB</td>
<td>
<div class="avatar-group">
<div class="avatar-group-item">
<a href="javascript: void(0);" class="d-inline-block">
<img src="https://bootdey.com/img/Content/avatar/avatar8.png" alt="" class="rounded-circle avatar-sm"/>
</a>
</div>
<div class="avatar-group-item">
<a href="javascript: void(0);" class="d-inline-block">
<img src="https://bootdey.com/img/Content/avatar/avatar2.png" alt="" class="rounded-circle avatar-sm"/>
</a>
</div>
</div>
</td>
<td>
<div class="dropdown">
<a class="font-size-16 text-muted" role="button" data-bs-toggle="dropdown" aria-haspopup="true">
<i class="mdi mdi-dots-horizontal"></i>
</a>
<div class="dropdown-menu dropdown-menu-end">
<a class="dropdown-item" href="#/">Open</a>
<a class="dropdown-item" href="#/">Edit</a>
<a class="dropdown-item" href="#/">Rename</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="#/">Remove</a>
</div>
</div>
</td>
</tr>
</tbody>
</table>
</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{margin-top:20px;
background-color: #f1f3f7;
}
.search-box .form-control {
border-radius: 10px;
padding-left: 40px
}
.search-box .search-icon {
position: absolute;
left: 13px;
top: 50%;
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
fill: #545965;
width: 16px;
height: 16px
}
.card {
margin-bottom: 24px;
-webkit-box-shadow: 0 2px 3px #e4e8f0;
box-shadow: 0 2px 3px #e4e8f0;
}
.card {
position: relative;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
min-width: 0;
word-wrap: break-word;
background-color: #fff;
background-clip: border-box;
border: 1px solid #eff0f2;
border-radius: 1rem;
}
.me-3 {
margin-right: 1rem!important;
}
.font-size-24 {
font-size: 24px!important;
}
.avatar-title {
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
background-color: #3b76e1;
color: #fff;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
font-weight: 500;
height: 100%;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
width: 100%;
}
.bg-soft-info {
background-color: rgba(87,201,235,.25)!important;
}
.bg-soft-primary {
background-color: rgba(59,118,225,.25)!important;
}
.avatar-xs {
height: 1rem;
width: 1rem
}
.avatar-sm {
height: 2rem;
width: 2rem
}
.avatar {
height: 3rem;
width: 3rem
}
.avatar-md {
height: 4rem;
width: 4rem
}
.avatar-lg {
height: 5rem;
width: 5rem
}
.avatar-xl {
height: 6rem;
width: 6rem
}
.avatar-title {
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
background-color: #3b76e1;
color: #fff;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
font-weight: 500;
height: 100%;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
width: 100%
}
.avatar-group {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
padding-left: 8px
}
.avatar-group .avatar-group-item {
margin-left: -8px;
border: 2px solid #fff;
border-radius: 50%;
-webkit-transition: all .2s;
transition: all .2s
}
.avatar-group .avatar-group-item:hover {
position: relative;
-webkit-transform: translateY(-2px);
transform: translateY(-2px)
}
.fw-medium {
font-weight: 500;
}
a {
text-decoration: none!important;
}