# gentelella **Repository Path**: mirrors_ColorlibHQ/gentelella ## Basic Information - **Project Name**: gentelella - **Description**: Free Bootstrap 4 Admin Dashboard Template - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2020-08-08 - **Last Updated**: 2026-06-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Gentelella v4 — Free Admin Dashboard Template [![npm version](https://img.shields.io/npm/v/gentelella.svg?logo=npm&label=npm)](https://www.npmjs.com/package/gentelella) [![npm downloads](https://img.shields.io/npm/dw/gentelella.svg?logo=npm&label=downloads)](https://www.npmjs.com/package/gentelella) [![jsDelivr](https://img.shields.io/jsdelivr/npm/hw/gentelella.svg?logo=jsdelivr&label=jsDelivr)](https://www.jsdelivr.com/package/npm/gentelella) [![GitHub stars](https://img.shields.io/github/stars/ColorlibHQ/gentelella?style=flat&logo=github&label=stars)](https://github.com/ColorlibHQ/gentelella/stargazers) [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE.txt) [![Made with Vite 8](https://img.shields.io/badge/Vite-8-646cff.svg?logo=vite&logoColor=white)](https://vitejs.dev/) [![No jQuery](https://img.shields.io/badge/jQuery-free-success.svg)](#tech-stack) [![PWA Ready](https://img.shields.io/badge/PWA-ready-5a0fc8.svg)](#tech-stack) **Gentelella v4** is a free, open-source **admin dashboard template** built with **vanilla JavaScript**, **SCSS**, and **Vite 8**. **No Bootstrap. No jQuery. No SPA framework.** A modern alternative to Bootstrap admin templates for SaaS dashboards, CRM systems, internal tools, e-commerce backends, and project management apps. **58 production-ready HTML pages**, **20 ECharts chart variants**, fully interactive **inbox / kanban / calendar / file manager / settings**, a **live theme generator**, a **component playground**, a **⌘K command palette**, **dark mode**, and **PWA support**. MIT-licensed. Free for personal and commercial use. Built for 2026 by [Colorlib](https://colorlib.com). **[Live demo →](https://preview.colorlib.com/theme/gentelella/)**

Gentelella v4 admin dashboard preview — light theme Gentelella v4 admin dashboard preview — dark theme

Inbox · Kanban · Theme generator
Inbox client with folders, reader pane, and compose modal Kanban board with drag-and-drop task management Live theme generator with real-time color customization

> **Generate your own screenshots** — `npm run build && npm run screenshots` boots Playwright and captures 22 key pages × light + dark = 44 PNGs to `docs/screenshots/`. --- ## Why Gentelella v4 The original Gentelella has been a free Bootstrap admin template since 2014 — **3M+ downloads**, [4.5k+ GitHub stars](https://github.com/ColorlibHQ/gentelella). v4 is a ground-up redesign: - **No Bootstrap, no jQuery** — vanilla JavaScript + SCSS. ~178 MB `node_modules` (down from ~600 MB on v2). - **Vite 8 build system** — instant HMR, multi-page app with auto-discovered entry points, hashed assets. - **Light + dark mode** with `prefers-color-scheme` detection and pre-paint script (no flash of incorrect theme). - **PWA-ready** — installable on desktop and mobile, offline shell, service worker. - **AI-assisted development** — ships with helper files for Claude Code, Cursor, GitHub Copilot, and any [agents.md](https://agents.md)-compatible tool. Perfect for: **SaaS dashboards**, **CRM**, **ERP**, **internal admin panels**, **project management tools**, **e-commerce backends**, **analytics dashboards**, **HR/payroll**, **booking systems**, **content management**. ## Features - **🎨 Live theme generator** — pick a primary color, watch every chart, button, badge, and link restyle in real time. Copy or download the generated SCSS tokens. Demo: [theme.html](https://preview.colorlib.com/theme/gentelella/theme.html) - **🧪 Component playground** — every reusable component on one page, side-by-side with its **exact HTML** and a Copy button. Demo: [playground.html](https://preview.colorlib.com/theme/gentelella/playground.html) - **⌘K command palette** — fuzzy search across all 58 pages and inline actions - **📬 Real inbox client** — folders, reader pane, compose modal, reply/forward, J/K/R/S/# keyboard shortcuts, search across the active folder - **📱 PWA** — installable on macOS / Windows / iOS / Android, offline shell, service worker - **↔️ Sidebar rail mode** — desktop hamburger collapses sidebar to icon-only with hover tooltips and click-to-flyout submenus - **🌗 Dark mode** — `prefers-color-scheme` aware, pre-paint script prevents flash, manual toggle persists in `localStorage` - **♿ Accessibility** — skip-link, keyboard focus rings, ARIA labels on interactive controls, semantic landmarks, screen-reader-friendly DataTables ## What you get | Surface | What's in it | | --- | --- | | **Dashboards** | 4 variants — operations, analytics (heatmap, funnel, cohort matrix), sales (gauge, radar, pipeline), system health (resource bars, deployment list, error log) | | **Auth** | Sign-in · social (Google, GitHub) · register · forgot password · 2FA · lock screen · 403 / 404 / 500 | | **Forms** | General form · advanced controls · 6-step wizard · drag-and-drop upload · validation · **date-range picker · multi-select · rich text editor** | | **Tables** | DataTables — sort, search, paginate, **row selection, CSV export** · 23-row + 50-row demos | | **Charts** | **20 ECharts variants** — line, area, stacked area, bar, horizontal bar, mixed bar/line, donut, pie, radar, gauge, scatter, heatmap, funnel, candlestick, polar bar, treemap, sankey, calendar heatmap, gantt + dashboard mini-line | | **App pages** | Calendar (full CRUD) · inbox (folders, compose, reader) · chat (8 threads) · kanban (drag-drop) · file manager (tree + grid) · notifications · invoice (editable line items) · profile · settings (persisted) · FAQ | | **E-commerce** | Storefront · product detail · order list · order detail · pricing tiers | | **Admin** | Contacts · user management (search, filters, role editor) · maintenance · coming-soon | | **UI library** | **Component playground** · **theme generator** · 120+ icons in 14 categories · typography · 18 widget variants · media gallery · general elements (banners, accordion, drawer, popover, timeline) | | **Map** | Leaflet customer map | | **Marketing** | Landing page with hero, stats band, features, showcase, testimonials, FAQ | | **Layouts** | Fixed sidebar / fixed footer / nested page / blank starter | Plus: 10 SCSS partials · build-time + runtime shell (no FOUC) · `data-page` attribute auto-highlights nav · mobile drawer + desktop rail mode · light/dark with `prefers-color-scheme` + pre-paint · cross-document view transitions · skip-to-content · keyboard focus-visible · accordion sidebar with sessionStorage memory · `localStorage`-persisted settings · per-page **``**, **Open Graph**, and **Twitter Card** tags auto-injected at build time. ## Upgrade to a Premium Dashboard Need advanced features, dedicated support, and production-ready code? Explore our handpicked collection of professional admin templates on [DashboardPack](https://dashboardpack.com/?utm_source=github&utm_medium=readme&utm_campaign=gentelella).
Apex Dashboard — Next.js 16 admin template with shadcn/ui
Apex Dashboard
Next.js 16 + React 19 + Tailwind CSS v4 + shadcn/ui. 5 dashboard variants, 20+ app pages, 125+ routes, full CRUD.
Zenith — ultra-minimal Next.js admin dashboard with shadcn/ui
Zenith Dashboard
Next.js 16 + React 19 + Tailwind CSS v4 + shadcn/ui. Achromatic design, 50+ pages, 6 dashboards, live theme customizer.
Haze — Nuxt 4 admin dashboard with 92+ pages and 5 dashboards
Haze
Nuxt 4 + Nuxt UI v4 + Tailwind CSS v4. 92+ pages, 7 layouts, 5 dashboards, RTL, i18n, mock API layer.
TailPanel — modern React and Tailwind CSS admin panel
TailPanel
React + TypeScript + Tailwind CSS + Vite. 9 dashboard designs, dark and light themes.
Admindek — feature-rich Bootstrap 5 dashboard with dark mode
Admindek
Bootstrap 5 + vanilla JS. 100+ components, dark/light modes, RTL support, 10 color presets.
SvelteForge Premium — SvelteKit admin dashboard with multi-tenant support
SvelteForge Premium
SvelteKit + Tailwind CSS v4. 30+ wired-up modules, multi-tenant from row zero, dark/light/system mode.

View All Premium Templates →

## Tech stack - **Vite 8** with Rolldown — multi-page app, 58 auto-discovered entry points - **SCSS** with `@use` modules — no Bootstrap, no framework - **Vanilla ES2022** — no jQuery, no SPA framework, no build-time JSX - **Apache ECharts 6** — lazy-imported, modular (only chart types actually used) - **DataTables.net 2** core — re-skinned from scratch to match the design system - **Leaflet 1.9** — lazy-imported on the map page only - **Inter** font from Google Fonts - **Playwright** (devDep) — for the screenshot pipeline and smoke tests 3 production deps, 10 dev deps, **~178 MB `node_modules`** (was ~600 MB on the old Gentelella). ## Documentation Full docs live at **** — covering every part of v4: | Topic | Doc | | --- | --- | | Setup, build, deploy | [getting-started](https://gentelella.colorlib.com/docs/getting-started/) | | Directory layout | [project-structure](https://gentelella.colorlib.com/docs/project-structure/) | | Shell injection + lazy modules | [architecture](https://gentelella.colorlib.com/docs/architecture/) | | Tokens, dark mode, theme generator | [theming](https://gentelella.colorlib.com/docs/theming/) | | Adding pages + sidebar entries | [adding-pages](https://gentelella.colorlib.com/docs/adding-pages/) | | Component playground | [playground](https://gentelella.colorlib.com/docs/playground/) | | ECharts factories | [echarts](https://gentelella.colorlib.com/docs/echarts/) | | DataTables, row selection, CSV | [tables](https://gentelella.colorlib.com/docs/tables/) | | Inputs, validation, custom controls | [forms](https://gentelella.colorlib.com/docs/forms/) | | `showModal`, `showToast`, `openMenu` | [overlays](https://gentelella.colorlib.com/docs/overlays/) | | ⌘K | [command palette](https://gentelella.colorlib.com/docs/palette/) | | Inbox client | [inbox](https://gentelella.colorlib.com/docs/inbox/) | | Kanban board | [kanban](https://gentelella.colorlib.com/docs/kanban/) | | Vite multi-page setup | [vite-build](https://gentelella.colorlib.com/docs/vite-build/) | | Service worker, manifest, offline | [pwa](https://gentelella.colorlib.com/docs/pwa/) | | Hosts, subpath, cache headers | [deployment](https://gentelella.colorlib.com/docs/deployment/) | | IntelliSense via `.d.ts` | [typescript](https://gentelella.colorlib.com/docs/typescript/) | | Seed vs HTTP backend (`?api=1`) | [data-adapter](https://gentelella.colorlib.com/docs/data-adapter/) | | Coming from old Gentelella | [migration-v2](https://gentelella.colorlib.com/docs/migration-v2/) | | Common questions | [FAQ](https://gentelella.colorlib.com/docs/faq/) | ## Quick start ```bash git clone https://github.com/ColorlibHQ/gentelella.git cd gentelella npm install npm run dev ``` Open [http://localhost:9173/production/index.html](http://localhost:9173/production/index.html). The dev server hot-reloads SCSS, JS, and HTML. Override the port with `PORT=4000 npm run dev`. ### Production build ```bash npm run build ``` Outputs static HTML + hashed JS/CSS to `dist/`. Deploy the `dist/` folder to any static host (Netlify, Vercel, Cloudflare Pages, S3, GitHub Pages). To deploy under a subpath (e.g. `https://example.com/admin/`): ```bash BASE_PATH=/admin/ npm run build ``` ### npm package The package is consumable as an npm dependency for granular imports: ```bash npm install gentelella ``` ```js import { mountShell, showModal, showToast } from 'gentelella'; import 'gentelella/scss/v4/main.scss'; ``` Subpath exports: `gentelella/v4/*` (JS modules), `gentelella/scss/*` (styles), `gentelella/types` (TypeScript declarations). ### CDN (jsDelivr) The package ships the pre-built `dist/` and the unbundled `src/`, so every file is reachable via [jsDelivr](https://www.jsdelivr.com/package/npm/gentelella) without a bundler. Useful for prototyping, design-system inspection, or pulling individual ES modules: ```html ``` Browse the 58 built demo pages straight from CDN — every reference page renders with all assets resolved: ```text https://cdn.jsdelivr.net/npm/gentelella@4/dist/production/index.html https://cdn.jsdelivr.net/npm/gentelella@4/dist/production/inbox.html https://cdn.jsdelivr.net/npm/gentelella@4/dist/production/kanban.html … ``` **Heads-up on hashing.** Vite emits content-hashed asset filenames in `dist/assets/` and `dist/js/` (`main-v4-DDS6x4g-.css` etc.), so direct CDN URLs for those chunks change on every release. The main `src/main-v4.js` entry also imports SCSS source, so it isn't browser-loadable — use it through your bundler. For an AdminLTE-style single-file `