Getting Started
{/* Introduction */}Introduction
A free dashboard template using Daisy UI and react js. With the help of Dasisy UI, it comes with fully customizable and themable CSS and power of Tailwind CSS utility classes. We have also added redux toolkit and configured it for API calls and state management.
User authentication has been implemented using JWT token method (ofcourse you need backend API for generating and verifying token). This template can be used to start your next SaaS project or build new internal tools in your company.
Core libraries used -
- React JS v18.2.0
- React Router v6.4.3
- Tailwind CSS v3.3.6
- Daisy UI v4.4.19
- HeroIcons v2.0.13
- Redux toolkit v1.9.0
- React ChartJS 2 v5.0.1
Major features -
Almost all major UI components are available in Daisy UI library. Apart from this logic has been added for following -
- Light/dark mode toggle
- Token based user authentication
- Submenu support in sidebar
- Store management using redux toolkit
- Daisy UI components
- Right and left sidebar, Universal loader, notifications and other components
- React chart js 2 examples
How to use?
Just clone the repo from github and then run following command (Make sure you have node js installed )
Repo Link
npm install
npm start
Tailwind CSS
Tailwind CSS is a utility-first CSS framework with predefined classes that you can use to build and design the UI directly in the JSX. We have also included Daisy UI Component, that is based on tailwind CSS.
{/* Daisy UI */}Daisy UI
Daisy UI, a popular free and opensource tailwind component library has been used for this template. It has a rich collection of components, layouts and is fully customizable and themeable.
Apart from this it also helps in making HTML code more cleaner as we don't have to include all utility classes of tailwind to make the UI. Check components documentation here. For Ex-
Creating a button
Chart JS
Chart JS library has rich components of different charts available. It is based on Chart.js library, the most popular charting library. We have added this library and added couple of examples in seperate page.
{/* Redux Toolkit */}Redux Toolkit
The Redux Toolkit package helps in writing redux logic easily. It was originally created to help address three common concerns about Redux: