In this tutorial, you will know how to use WrapPixel’s Ample React Dashboard Lite Template for React which is a free react template housing the necessary things needed for your personal or commercial project. 
Here’s how the entire tutorial is laid up for you in different sections:

  • Template overview
  • Download, install, and setup
  • Examining the project structure
  • Deep dive into important files and dependencies
  • A quick look at the components

Ready to use the Ample Dashboard Lite React Template, let’s go!

React Template Overview

react template

The entire react template is free to use. It’s great for you if you are just starting to look out for a suitable theme for your next project be it a personal or a professional one. It is entirely modular so you can easily configure and change every content you desire.

Keeping in mind that most beginners will use it, there aren’t many technologies or frameworks used here. For starters, the react template deals with React as its main library to build all the dashboard components and it is styled with Sass and CSS.

If you are one of those developers who fear having a bad user interface in your applications, then fret not. The Ample React Template was built to be an elegant yet beautiful solution for stunning interfaces. Be to about the page layout, the choice of icons, or even the fonts and colors. There is no need to think more about UI/UX choices for you. It’s all covered.
Now let’s take a quick look at what you will get in this react template:

  1. 1 basic dashboard
  2. 7-page templates
  3. 10 UI components
  4. Integrated plugin support
  5. 6 months of free updates
  6. A few ready-to-use widgets
  7. 100+ font icons
  8. Sass base CSS
  9. 1 or 2 chart options
  10. Reactstrap version 6.4.0

If you feel you have a project that needs more features and customizations than the Ample free version, then you can always opt for the Ample React Dashboard premium version. It includes a truckload of features with advanced components, widgets, elements, and tools.

Download, install, and setup

Let’s start with the download and installation. For this, you need to have a WrapPixel account. Simply head over to the website and create one. After your account is created, follow these simple steps:

  1. Open the Ample Free React Dashboard Template page and click on the ‘Download’ button. It will take you to the comparison table between the free and the premium version. Choose the ‘free’ one. This will download a .zip file in your local directory.
  2. Extract the compressed file and you are now left with a folder named ‘ample-react-dashboard-lite’.
  3. Open your favorite code editor like VSCode and then either drag and drop the entire folder or go to ‘File > Open’ and locate the folder you just extracted. This will open the folder and its files inside your editor.
  4. Before we even start writing any code for customization, let us take a look at what the default template looks like in the browser.
  5. Make sure you have NPM and Node.js installed. You can get it from here. Then open up your command prompt or a terminal window and from the root directory, run the following command:
npm i

This will install all the required dependencies and libraries or tooling required to run the template properly on your machine. When it’s finished you can then head on to run another command which will eventually start the React script to run the app:

npm start

Wait for a few seconds and it will open up the React development server in your browser at the address http://localhost:3000/.

If you have successfully completed the steps above you will see something like this:

react template

Congratulations! With just 5 easy steps you have set up the React template to work according to your needs.

Examining the project structure

Time to take a close look at how everything is set up inside this folder. If you see, the overall project structure looks like any other React application:

│   package.json
│   package-lock.json    
│   │   index.js
│   │   logo.svg
|   |   registerServiceWorker.js
│   │
│   └───assets
│       │   file1
│       │   file2
│       │   ...
│   └───components
│       │   file1
│       │   file2
│       │   ...
│   └───layouts
│       │   file1
│       │   file2
│       │   ...
│   └───routes
│       │   file1
│       │   file2
│       │   ...
│   └───views
│       │   file1
│       │   file2
│       │   ...
    │   index.html
    │   ...

Let’s see what each sub-folder means:

  • src: probably the most important of them all, the src folder, as the name suggests contains all the different assets, components, layouts, routes, and views used to make the entire template. It houses the .js, .jsx, .css, .scss, and asset files like .png
  • If you want to update content, add new styling, or change the fonts or icons, you do all of that in this folder.
  • assets: you can see here you will get all the images and the SaSS-style files. Want to update the logo to match your brand or a product? Simply replace the logo-icon.png file with yours. Inside the scss sub-holder, there are two files named style.css and style.scss. These two control the global styling of the entire application.
  • components: from chart one to the footer or header, all of the components interface are coded here in JSX. Choose any of the sub-folders and then open the corresponding .jsx file to make any modifications to the component you need. The index.js file at the root of this directory simply exports all of the required components. If you are planning to add a new one done forget to add it to the list!
  • layouts: this contains the overall layout of the entire theme. You are free to change the layout setting from here.
  • routes: this folder is dedicated to housing all the route paths when navigating between the application components. Each component has a path, name, icon, and component properties associated with it.
  • views: it comes with all the UI components like a tooltip, badge, alert, etc., and arranges them in a clean layout. The code is split between the starter and UI-components sub-folders.

Deep dive into important files and dependencies

Onto the sweet stuff! Let’s see what some of the important files you will be using thoroughly while customizing the template by yourself along with the dependencies used by default.

  1. fulllayout.jsx: whenever you feel like changing the overall layout including the header, and sidebar, or enabling/disabling dark layout, you can modify it all here in this file.
  • Let’s say you need to enable the sidebar on a certain viewport width. To achieve this all you need to do is modify the following code:
useEffect(() => {
        const updateDimensions = () => {
            let element = document.getElementById('main-wrapper');
            if (width < 1170) {
                element.setAttribute("data-sidebartype", "mini-sidebar");
            } else {
                element.setAttribute("data-sidebartype", "full");
        if (document.readyState === "complete") {
        window.addEventListener("resize", updateDimensions.bind(this));
        window.addEventListener("load", updateDimensions.bind(this));
        return () => {
            window.removeEventListener("load", updateDimensions.bind(this));
            window.removeEventListener("resize", updateDimensions.bind(this));
    }, [width]);

This essentially uses the useEffect() hook under the hood to call the updateDimensions function which in turn, enables or disables the sidebar as needed.

  1. routing.jsx: this file is an object ThemeRoutes needed to have all the specific routes in the entire application. It has everything you want from /dashboard to /ui-components/tooltip
  • If you want to add a new route to your liking, you need to provide it with a route, the component render at that route, icon and the actual path in the directory where it lives. Here’s a quick example:
    path: "/slider",
    name: "Slider",
    icon: "fa fa-sliders",
    component: SliderComponent,
  1. starter.jsx: it houses most of the ReactStrap UI components ranging from CardText to Button along with the dashboard components stored in the /components directory.

If you need to apply a new UI component like Breadcrumb, you first need to import it:

import { Breadcrumb, BreadcrumbItem } from 'reactstrap';

Then, inside the Starter function, you can add it under the <Row> component:

    <BreadcrumbItem active>Home</BreadcrumbItem>
  1. ProductYearlySales.jsx: this and most all other files under the /dashboard-components directory, can be customized with a common thing, i.e. by changing the data as needed. 
  • Let’s say you want the labels of the chart to change which display the years as an array and they also come with the datasets object. You can make a new one as:
let lineData = {
  labels: ["2011", "2012", "2013", "2014", "2015"],
  datasets: [
      label: "My Income",
      borderWidth: 1.2,
      backgroundColor: "rgba(44,171,227,.1)",
      borderColor: "rgb(44,171,227)",
      pointBorderColor: "rgb(44,171,227)",
      pointBackgroundColor: "rgb(44,171,227)",
      data: [0, 6, 11, 25, 24],
  1. _theme-colors.scss: if you want to add a new theme to the dashboard say, a sepia theme, then this file is what you are looking for. It consists of all the theme colors defined first, then the logo background according to the theme and to the end, we have a sidebar background.
  • You will be mainly working on two CSS properties for this: the background and color.

Now let’s take a look at the different third-party dependencies used:

  1. bootstrap and reactstrap: these two get the UI components foundation done with all the different SCSS classes for styles and elements used like Collapse or UncontrolledDropdown.
  1. history: this helps to manage the app sessions anywhere you run it. This is good to persist state when needed.
  1. react-chartjs-2: it’s a React wrapper to the popular Chart.js library.
  1. react-perfect-scrollbar: this is a wrapper to allow the use of perfect-scrollbar in React.

A quick look at the components

All of the components used reside under the /components folder in this template. Broadly, they are categorized into 4 types:

  • dashboard-components: like chats, progress, comments, etc.
  • footer: a simple website footer
  • header: a website header
  • sidebar: containing the sub-navigation elements 

Now let’s see what we get under the dashboard-components section:

  • ChatListing.jsx: this is the list of different chats and it is situated on the homepage itself –
react template

The entire interface is a child of the <Card /> component which comes from the ReactStrap library. Inside this, you have the CardBody /> which houses all the necessary elements like an unordered list with links, images, names, and status text. When you hover over an item on the list it will show up two icons of chat and phone. Here is how it is laid in code:

<li className="mb-3">
            <a href="/">
              <div className="d-flex align-items-center">
                <img src={img1} className="rounded-circle" alt="" width="40" />
                <div className="ml-3">
                  <h5 className="mb-0 text-dark">Varun Dhavan</h5>
                  <small className="text-success">Online</small>
                <div className="ml-auto chat-icon">
                    className="btn btn-success btn-circle btn-circle text-white"
                    <i className="fas fa-phone"></i>
                    className="btn btn-info btn-circle btn-circle ml-2"
                    <i className="far fa-comments"></i>
  • ProductYearlySales.jsx: this is the forefront of the Ample React Template and shows you the actual interactive graph with customizable data points.
react template

You first have to define the data as explained above and then pass on the data object as an data attribute prop of the <Line/> component used from the React Chart library. Along with that, you can also pass several options to it like legend,  scales, etc:

                    maintainAspectRatio: false,
                    legend: {
                      display: false,
                      labels: { fontFamily: "Rubik" },
                    scales: {
                      yAxes: [
                          stacked: true,
                          gridLines: { display: false },
                          ticks: { fontFamily: "Rubik" },
                      xAxes: [
                          gridLines: { display: false },
                          ticks: { fontFamily: "Rubik" },
  • ProgressCards.jsx: to the top of the homepage you get to see a quick glance at the progress of the logged-in user, like a stats card.
react template

These are 4 individual cards that show the total income, number of users, birthday and the pending work to be done. Everything is contained in the <Row/> component of ReactStrap with <CardBody/> being its child. Inside this, you get an icon, the text with a <h3> and <span> tags for each of them.

<Col md={6} lg={3}>
            <div className="d-flex flex-row">
              <div className="round align-self-center round-success">
                <i className="ti-wallet"></i>
              <div className="ml-3 align-self-center">
                <h3 className="mb-0">$18090</h3>
                <span className="text-muted">Income</span>
  • RecentComments.jsx: this component shows you a gist of all the different comments by multiple users on a platform.
react template

The good part is that we also get to approve or reject a comment right from the home layout. Not only that this react template also comes with the status of approval next to the author’s name. All in all, it uses the badge, badge-info, badge-rounded to make this happen.

<div className="d-flex flex-row comment-row mt-0 mb-0">
            <div className="p-2">
            <div className="comment-text w-100">
              <h5 className="font-normal mb-1">Pavan kumar</h5>
              <span className="text-muted mr-2 font-12">
                10:20 AM 20 may 2016
              <span className="badge badge-info badge-rounded text-uppercase font-medium">
              <span className="mb-2 d-block font-14 text-muted font-light mt-3">
                Donec ac condimentum massa. Etiam pellentesque pretium lacus.
                Phasellus ultricies dictum suscipit. Aenean commodo
              <div className="mt-3">
                  className="btn btn btn-rounded btn-outline-success mr-2 btn-sm"
                  <i className="ti-check mr-1"></i>Approve
                  className="btn-rounded btn btn-outline-danger btn-sm"
                  <i className="ti-close mr-1"></i> Reject
  • RecentSales.jsx: this shows a tabular summary of the overall sale history from the username, to the date of sale and the price.
react template

Everything comes under the Table /> ReactStrap component which defines the border type, the table headers <th> and its body <tbody>.

              <td>Elite Admin</td>
                <span className="text-uppercase">Sale</span>
              <td>April 18, 2017</td>
              <td className="text-success">$24</td>
              <td>Real Homes WP Theme</td>
              <td>April 19, 2017</td>
              <td className="text-info">$1250</td>
              <td>Ample Admin</td>
              <td className="text-uppercase">EXTENDED</td>
              <td>April 19, 2017</td>
              <td className="text-info font-medium">$1250</td>
              <td>Medical Pro WP Theme</td>
              <td>April 20, 2017 </td>
              <td className="text-danger">-$24</td>
              <td>Hosting press html </td>
              <td>April 21, 2017 </td>
              <td className="text-success">$24</td>
              <td>Digital Agency PSD</td>
              <td>April 23, 2017</td>
              <td className="text-danger">-$14</td>
              <td>Helping Hands WP Theme</td>
              <td>April 22, 2017</td>
              <td className="text-success">$64</td>

If you want to take your design skills to the full extent, then you might need to make any changes to the overall layout of the template. For this, the best part would be to change all the layout settings provided in the fulllayout.jsx file which resides under the /src/layouts/ directory.
Here you can change the header, sidebar, and dark layout. For example, if you have made a completely new MyHeader.jsx component and now want to include it in the Ample React Template you have to follow these simple steps:

  1. Import the new header as: 
import MyHeader from '../components/MyHeader.jsx';
  1. In the return() statement of the file, add your new component before the <Sidebar /> component:
return (
            <MyHeader />

And there you go! Now you know almost all of the features, customization methods, and a deep explanation of all the major files included in the Ample React Dashboard Lite.
Try this free react template and don’t miss to also consider its Pro version which has a lot more to offer!

If you are looking for React MUI Admin Dashboard Template then you can check out below useful Admin Template which can save you time, money, and energy:

Modernize Free React MUI Dashboard

Best React Admin Dashboard Templates that You Can Use for 2023