Skip to content
W3Frontend Free Frontend Code Snippets
Admin Dashboards ReactViteSassChart.js

CoreUI Free React Admin Template

A free React admin dashboard template built with CoreUI components for developers who need a ready‑to‑use admin interface.

By coreui coreui/coreui-free-react-admin-template 4,974 stars

Introduction

CoreUI Free React Admin Template is an open‑source admin dashboard built with React and CoreUI components. It provides a ready‑to‑use interface for building internal tools, analytics panels, or any web‑based administration system.

What this project offers

  • A complete set of reusable UI components (header, footer, sidebar, widgets).
  • Ready‑made pages such as dashboards, authentication screens, error pages, and forms.
  • Integration with Chart.js for visualising data.
  • State management with Redux and routing with React Router.
  • Responsive layout that works on desktop and mobile browsers.

Main features

  • Sidebar navigation defined in _nav.jsx.
  • Header, footer, and layout components.
  • Multiple dashboard pages with Chart.js charts.
  • Authentication and error page templates.
  • Form and widget components.
  • Light‑theme only, responsive design.

Technology stack

  • React (v19.2.8)
  • Vite (v8.2.1) for development and build
  • Sass for styling (scss files)
  • Chart.js (v4.5.1) for charts
  • Redux for state management
  • React Router for routing
  • CoreUI React component library

Requirements

  • Node.js installed on your machine.
  • npm (or yarn) to install dependencies.

Installation

  1. Download the ZIP archive from the release page:

    /download/coreui-react-admin-template.zip

  2. Extract the archive to a folder of your choice.
  3. Open a terminal and navigate to the extracted folder:
cd coreui-free-react-admin-template
  1. Install the required packages:
npm install

(or yarn install if you prefer Yarn)

  1. Build the project for production:
npm run build

The build script runs vite build and creates a build/ directory containing the compiled assets.

  1. (Optional) Preview the production build locally:
npm run serve

This starts a Vite preview server at http://localhost:4173 (default port).

Configuration

Configuration is mainly done through the Vite config file vite.config.mjs.

  • The base option is set to './' so the built files can be served from any sub‑directory.
  • The output directory is defined as outDir: 'build'.

You can modify the Vite config to change the development server port, add proxy rules, or adjust CSS processing.

Customizing the project

  • Styling: Edit the SCSS files in src/scss/ (style.scss, examples.scss, etc.).
  • Navigation: Update the sidebar items in src/_nav.jsx.
  • Routes: Add or modify routes in src/routes.js.
  • Components: Create new UI components in src/components/ and import them where needed.
  • State: Extend the Redux store in src/store.js to manage additional application state.

Project structure

src/
  App.jsx
  _nav.jsx
  assets/
    brand/
    icons/
    images/
  components/
    AppBreadcrumb.jsx
    AppContent.jsx
    AppFooter.jsx
    AppHeader.jsx
    AppSidebar.jsx
    AppSidebarNav.jsx
    DocsComponents.jsx
    DocsExample.jsx
    DocsIcons.jsx
    DocsLink.jsx
    header/
    index.js
  index.jsx
  layout/
    DefaultLayout.jsx
  routes.js
  scss/
    examples.scss
    style.scss
    vendors/
  store.js
  views/
    authentication/
    charts/
    components/
    dashboard/
    error-pages/
    forms/
    icons/
    widgets/
public/
  favicon.ico
  manifest.json
index.html
package.json
vite.config.mjs

Tips

  • Run npm run lint to check code quality with ESLint.
  • The development server (npm start) uses Vite’s hot‑module replacement, so changes appear instantly in the browser.
  • After building, the build/ folder can be deployed to any static‑file host (e.g., Netlify, Vercel, GitHub Pages).

License and attribution

This project is licensed under the MIT License. See the full license file at the repository: https://github.com/coreui/coreui-free-react-admin-template/blob/main/LICENSE

When redistributing or using the template, keep the LICENSE file and retain the copyright notice. Credit the original author as required by the MIT license.