Volt Bootstrap 5 Admin Dashboard
A free open‑source admin dashboard built with Bootstrap 5 and vanilla JavaScript, offering over 100 UI components and multiple example pages.
By themesberg themesberg/volt-bootstrap-5-dashboard 2,674 stars
Introduction
Volt Bootstrap 5 Admin Dashboard is a free, open‑source admin interface built with Bootstrap 5 and vanilla JavaScript. It provides a ready‑made set of pages, components, and dark‑mode support for developers who need a responsive admin UI without writing the layout from scratch.
What this project offers
- A collection of 29 ready‑to‑use HTML pages (dashboard, transactions, settings, authentication, error pages, component demos).
- Over 100 UI components such as buttons, forms, modals, notifications, and typography.
- Dark‑mode toggle and responsive layout that works on desktop and mobile browsers.
- No jQuery dependency; all scripts are plain JavaScript.
Main features
- Dashboard overview page with analytics charts.
- Transactions page, user settings page, and multiple authentication pages (sign‑in, sign‑up, forgot password, reset password, lock).
- Error pages (404, 500).
- Component library pages (buttons, forms, modals, notifications, typography).
- Bootstrap tables page.
- Dark‑mode support.
- Fully responsive design.
Technology stack
- Bootstrap 5 – CSS framework.
- Sass – source styles compiled with Gulp.
- Gulp 4 – task runner (optional for development).
- Vanilla JavaScript – interactive features.
- Chartist, SimpleBar, SweetAlert2, and other small libraries for charts, scrollbars, and alerts.
Requirements
- A modern web browser to view the pages.
- Node.js is optional; it is only needed if you want to run the Gulp workflow for live‑reloading or to rebuild the Sass files.
Installation
- Download the ZIP file
curl -L -o volt-bootstrap5-admin.zip https://github.com/themesberg/volt-bootstrap-5-dashboard/archive/refs/heads/main.zip
- Extract the archive
unzip volt-bootstrap5-admin.zip -d volt-dashboard
- Open the main page
Navigate to the extracted folder and open
src/index.htmlin your browser.
cd volt-dashboard/volt-bootstrap-5-dashboard-main/src
start index.html # Windows
open index.html # macOS
xdg-open index.html # Linux
The dashboard will load locally without any server.
- (Optional) Run the Gulp development server
If you have Node.js installed and want live‑reloading while editing SCSS or JS:
npm install # install dependencies listed in package.json
npx gulp # start BrowserSync server
The server serves the files from src/ and watches for changes. Press Ctrl+C to stop it.
Configuration
- SCSS customization – edit files under
src/scss/(e.g.,src/scss/volt.scssor files insrc/scss/custom/). - JavaScript – custom scripts can be added to
src/assets/js/. - Gulp – the
gulpfile.jsdefines tasks for development (gulp) and for building distribution folders (gulp build:dev,gulp build:dist). These tasks are optional; the project works out‑of‑the‑box as static HTML.
Customizing the project
- Modify SCSS variables in
src/scss/custom/to change colors, spacing, or typography. - Run
npm installfollowed bynpx gulpto see changes reflected instantly in the browser. - For a production‑ready minified version, run
npx gulp build:dist; the output will be placed in thedist/folder.
Project structure
LICENSE.md
README.md
gulpfile.js
package-lock.json
package.json
src/
assets/
img/
js/
index.html
pages/
components/
dashboard/
examples/
settings.html
tables/
transactions.html
upgrade-to-pro.html
partials/
_analytics.html
_analytics_body.html
_footer.html
_head.html
_navigation.html
_pages-preview.html
_scripts.html
dashboard/
scss/
custom/
volt.scss
volt/
Tips
- The project does not require a build step for basic use; opening any HTML file under
src/is enough. - Use the dark‑mode toggle (available in the top bar) to test the dark theme.
- When editing SCSS, keep the Gulp server running (
npx gulp) so CSS is recompiled automatically. - All external libraries are listed in
package.json; you can replace or upgrade them by editing that file and runningnpm installagain.
License and attribution
The project is released under the MIT License. See the full license file at LICENSE.md.
Original repository: https://github.com/themesberg/volt-bootstrap-5-dashboard
When redistributing, keep the LICENSE.md file and credit the original author as required by the MIT license.
Use this prompt with an AI coding assistant (Claude Code, Cursor, ChatGPT and similar) to add Volt Bootstrap 5 Admin Dashboard to a website or app you already have.
- Download the ZIP and put the project next to your own code.
- Fill in the bracketed parts, such as
[describe your stack]. - Paste the prompt into your assistant and review each change it proposes.
# Integrate Volt Bootstrap 5 Admin Dashboard **Role** You are a senior frontend developer. Your task is to help me integrate the Volt Bootstrap 5 Admin Dashboard into my existing web application while preserving the current codebase. **Project description** Volt Bootstrap 5 Admin Dashboard is a free open‑source admin UI built with Bootstrap 5 and vanilla JavaScript. It provides a responsive layout, dark‑mode support, and over 100 UI components such as buttons, forms, modals, tables, charts, and notification utilities. The repository contains 29 HTML pages, 56 SCSS files, 2 JavaScript files, and various image assets. No jQuery is required. **Source project** - Repository: https://github.com/themesberg/volt-bootstrap-5-dashboard - License: MIT - Framework: Bootstrap 5 (version 5.0.1) - Build tooling: Gulp 4.0.2 (optional) - Runtime dependencies (from `package.json`): - `@popperjs/core` 2.9.2 - `bootstrap` 5.0.1 - `chartist` 0.11.4 - `chartist-plugin-tooltips` 0.0.17 - `notyf` 3.9.0 - `nouislider` 11.0.3 - `onscreen` 1.3.4 - `simplebar` ^6.0.0‑beta.2 - `smooth-scroll` ^16.1.0 - `sweetalert2` 11.0.11 - `vanillajs-datepicker` 1.1.4 - `waypoints` 4.0.1 **Target project context** - Stack: `[describe your stack, e.g. Laravel 11 + Blade]` - UI insertion point: `[where the UI should go, e.g. admin section under /admin]` - Existing CSS framework: `[existing CSS framework, e.g. Tailwind, Bootstrap 4]` **Integration objectives** - Bring in the dashboard layout (header, sidebar, topbar). - Add the navigation component and side‑menu. - Reuse component pages you need (buttons, forms, tables, charts). - Preserve existing authentication, routing, and data layers. **Required components** - Layout partials: `src/partials/_head.html`, `src/partials/_navigation.html`, `src/partials/dashboard/_sidenav.html`, `src/partials/dashboard/_topbar.html`, `src/partials/_footer.html` - Example pages you may need: - Dashboard overview: `src/pages/dashboard/dashboard.html` - Transactions list: `src/pages/transactions.html` - User settings: `src/pages/settings.html` - Component library pages (buttons, forms, modals, notifications, typography) under `src/pages/components/` - Authentication pages if required (`sign‑in.html`, `sign‑up.html`, etc.) - Analytics partials: `src/partials/_analytics.html`, `src/partials/_analytics_body.html` **Layout and styling requirements** - Ensure the imported Bootstrap 5 CSS does not conflict with any existing framework. If the target already uses Bootstrap, verify version compatibility (target must be ≥ 5.0.1). - If the target uses a different framework, scope Volt’s CSS by wrapping its HTML inside a container with a unique class (e.g., `.volt-dashboard`) and adjust the compiled SCSS to prepend that selector. - Keep the dark‑mode CSS as‑is; it toggles via a `data-theme="dark"` attribute. **Asset management** - CSS: compiled from `src/scss/volt.scss` (or use the pre‑built CSS in `html&css/css/` if you run `gulp build:dev`). Copy the resulting CSS file into your project’s stylesheet directory. - JavaScript: copy the files from `src/assets/js/` (or the bundled script generated in `html&css/js/`) into your project’s script folder. - Images: copy the entire `src/assets/img/` folder to your public assets location. - Vendor libraries: Do not duplicate libraries already present in your project. Use your existing `bootstrap`, `popper`, `sweetalert2`, etc., and only add the missing ones (`chartist`, `notyf`, `nouislider`, `simplebar`, `smooth-scroll`, `vanillajs-datepicker`, `waypoints`). **Routing and navigation** - Map each Volt HTML page to a route in your application (e.g., `/admin/dashboard` → `dashboard.html`). - Preserve the original URLs by creating server‑side route aliases or client‑side router entries that serve the copied HTML content. - Update navigation links in `_navigation.html` and `_sidenav.html` to point to the new routes. **Responsive requirements** - The dashboard is fully responsive out of the box. Verify that breakpoints do not clash with any custom media queries in your app. Test on mobile, tablet, and desktop viewports. **Accessibility requirements** - Ensure all interactive elements have appropriate ARIA attributes (the original markup includes them). - Verify color contrast in both light and dark modes. - Test keyboard navigation for the sidebar and topbar menus. **Compatibility requirements** - Bootstrap version: 5.0.1 (as declared in `package.json`). - No build step is required for basic integration, but if you need to customize SCSS you must run `npm install` and `gulp` to compile the SCSS to CSS. - Node.js is optional; the compiled assets can be used directly. **Preserve the existing application** - First, inspect the current codebase before modifying any file. - Do not replace authentication, routing, state management, or data‑access layers. - Make only small, reviewable changes: add new files, update includes, and adjust configuration. - Ask before deleting any existing files or libraries. **Testing and verification checklist** - [ ] Confirm that the existing app builds and runs unchanged after adding Volt assets. - [ ] Verify that the dashboard layout appears correctly at `/admin/dashboard` (or your chosen route). - [ ] Check that the sidebar toggles and navigation links work. - [ ] Ensure dark‑mode toggle functions without affecting other parts of the site. - [ ] Test all imported components (buttons, forms, tables, charts) for visual correctness. - [ ] Validate that no duplicate CSS/JS files are loaded (inspect network tab). - [ ] Run responsive tests on at least three viewport sizes. - [ ] Perform accessibility checks: focus order, ARIA labels, color contrast. - [ ] Confirm that existing routes, authentication flows, and data fetching remain functional. - [ ] Document any new dependencies added to `package.json` and run `npm install` if needed.


