Sufee is a responsive Bootstrap 5 Admin Dashboard Template. Originally built with Bootstrap 4, this major release brings a complete modernization with Bootstrap 5, Vite build system, component-based architecture, and professional error handling.
- ESLint & Prettier Integration: Professional code quality tools with automatic formatting
- Error Handling System: Custom 404/500 pages with user-friendly messaging and error reporting
- Self-Hosted Fonts: Privacy-focused local font hosting eliminating Google Fonts CDN
- Enhanced Build Process: Optimized Vite configuration with error page integration
- Professional Error Pages: Beautiful, branded error pages with helpful navigation
- Global Error Handler: Automatic error capture and user-friendly notifications
- GDPR Compliance: Eliminated external CDN dependencies for better privacy
- Development Tools: Enhanced debugging with toast notifications and error tracking
- Bootstrap 5 Migration: Complete upgrade from Bootstrap 4 to Bootstrap 5
- Modern Build System: Replaced Grunt/Bower with Vite and NPM
- Component Architecture: New dynamic partials system for code reusability
- ES6 Modules: Modern JavaScript with proper module imports
- Performance: Optimized build process with code splitting and tree shaking
- Developer Experience: Hot Module Replacement (HMR) for instant updates
- Professional Error Handling: Custom 404/500 pages with user-friendly messaging
- Code Quality Tools: ESLint & Prettier integration for consistent, high-quality code
- Self-Hosted Fonts: Privacy-focused local font hosting (no external CDN dependencies)
- Responsive Design: Works flawlessly on all devices and screen sizes
- Dynamic Sidebar: Collapsible navigation with smooth animations
- Reusable Components: Partials system eliminates code duplication
- Modern Charting: Chart.js integration with interactive visualizations
- Data Tables: Advanced tables with sorting, searching, and pagination
- Form Validation: Built-in validation with user-friendly error messages
- Multiple Layouts: Various dashboard configurations and page templates
- Authentication Pages: Login, register, and password reset pages
- 100+ UI Components: Comprehensive widget and component library
- Node.js 14.x or higher
- NPM or Yarn package manager
-
Clone the repository
git clone https://github.com/your-repo/sufee-admin-dashboard.git cd sufee-admin-dashboard
-
Install dependencies
npm install
-
Start development server
npm run dev
The development server will start at
http://localhost:3001
-
Build for production
npm run build
Production files will be generated in the
dist/
directory
sufee-admin-dashboard/
├── src/ # Source files
│ ├── partials/ # Reusable HTML components
│ │ ├── head-common.html
│ │ ├── header.html
│ │ ├── sidebar.html
│ │ └── scripts-common.html
│ ├── scripts/ # JavaScript modules
│ │ ├── app.js # Main application class
│ │ ├── components/ # UI components
│ │ └── utils/ # Utility functions
│ ├── styles/ # SCSS stylesheets
│ │ ├── main.scss # Main stylesheet
│ │ ├── variables.scss # Theme variables
│ │ └── components/ # Component styles
│ ├── *.html # Page templates
│ └── main.js # JavaScript entry point
├── public/ # Static assets
│ ├── favicon.ico
│ └── images/ # Image assets
├── dist/ # Production build (generated)
├── package.json # NPM dependencies
└── vite.config.js # Vite configuration
Create a new HTML file in the src/
directory:
<!DOCTYPE html>
<html lang="en" data-bs-theme="light">
<head>
<meta charset="utf-8">
<title>Your Page - Sufee Admin</title>
<meta name="description" content="Page description">
<meta name="viewport" content="width=device-width, initial-scale=1">
<div data-partial="head-common"></div>
</head>
<body class="sufee-dashboard" data-page="your-page-id">
<div class="d-flex min-vh-100">
<!-- Sidebar -->
<div data-partial="sidebar" data-partial-replace="true"></div>
<!-- Main Content -->
<div class="main-content flex-grow-1">
<!-- Header -->
<div data-partial="header" data-partial-replace="true"></div>
<!-- Breadcrumb -->
<div data-breadcrumb
data-breadcrumb-title="Page Title"
data-breadcrumb-path="Section|Subsection|Page Title">
</div>
<!-- Content -->
<section class="content-area p-4">
<div class="container-fluid">
<!-- Your content here -->
</div>
</section>
</div>
</div>
<script type="module" src="/main.js"></script>
</body>
</html>
To add your page to the sidebar navigation, edit src/partials/sidebar.html
:
<li class="nav-item">
<a class="nav-link" href="your-page.html" data-page="your-page-id">
<i class="fas fa-icon"></i>
<span class="nav-text ms-2">Your Page</span>
</a>
</li>
The partials system automatically loads common components:
Partial | Description |
---|---|
head-common |
Meta tags, CSS imports, favicon |
sidebar |
Navigation sidebar with menu |
header |
Top header with search and user menu |
scripts-common |
Common JavaScript imports |
data-partial="name"
- Specifies which partial to loaddata-partial-replace="true"
- Replaces the container elementdata-page="id"
- Sets active navigation itemdata-breadcrumb
- Enables breadcrumb generation
// Chart.js is automatically available
const ctx = document.getElementById('myChart').getContext('2d');
const chart = new Chart(ctx, {
type: 'line',
data: { /* ... */ }
});
<table class="table table-striped" data-table>
<!-- Table content -->
</table>
<form data-validate>
<!-- Form fields with validation -->
</form>
Edit src/styles/variables.scss
to customize colors and sizing:
:root {
--sidebar-width: 280px;
--sidebar-collapsed-width: 70px;
--sidebar-bg: #272c33;
--sidebar-text: #c8c9ce;
--sidebar-text-active: #ffffff;
// Add your custom variables
}
- Create component file in
src/scripts/components/
- Import in relevant pages or main.js
- Add styles in
src/styles/components/
The project uses Vite for building. Configuration is in vite.config.js
:
- Development server runs on port 3001
- SCSS is compiled with modern-compiler API
- Source maps enabled for debugging
- Legacy browser support available via plugin
- Chrome (last 2 versions)
- Firefox (last 2 versions)
- Safari (last 2 versions)
- Edge (last 2 versions)
- No Internet Explorer support
Command | Description |
---|---|
npm run dev |
Start development server with HMR |
npm run build |
Build for production |
npm run preview |
Preview production build |
npm run lint |
Lint and auto-fix JavaScript code |
npm run format |
Format all files with Prettier |
npm run quality:fix |
Run both linting and formatting |
- Bootstrap 5.3.x
- Vite 5.x
- Sass
- Chart.js 4.x
- DataTables 1.13.x
- Font Awesome 6.x
- Themify Icons
- Flag Icons
- NO jQuery - 100% vanilla JavaScript
- Native HTML5 form validation
- Modern ES6+ JavaScript modules
- Various chart libraries (Chart.js, etc.)
If upgrading from version 1.x:
-
Bootstrap Classes: Update Bootstrap 4 classes to Bootstrap 5
.badge-*
→.bg-*
.font-weight-*
→.fw-*
.text-left/right
→.text-start/end
- Data attributes:
data-toggle
→data-bs-toggle
-
jQuery: Completely removed in v2.0. All code now uses vanilla JavaScript
-
Build Process: Grunt tasks are replaced with NPM scripts
-
File Structure: Move custom code to src/ directory
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
Sufee is licensed under The MIT License (MIT). You can use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the final products. But you always need to state that Colorlib is the original author of this template.
- 42 Free Bootstrap Admin Dashboard Templates 2025
- 42 Best Free HTML5 Admin Dashboard Templates 2025
- 39 Best Free & Responsive Admin Templates 2025
- 42 Best Free Dashboard Templates For Admins 2025
DashboardPack.com offers premium admin dashboard templates and UI kits for multiple frameworks:
Popular Templates:
- ArchitectUI - Multi-purpose Bootstrap admin template (HTML, React, Angular versions)
- Marketing Dashboard - Conversion funnel focused dashboard
- Sales Dashboard - Sales and finance data visualization
- Adminty HTML Dashboard - Modern Bootstrap-based admin panel
Available Frameworks:
- HTML5 & Bootstrap 5 themes
- React (with Reactstrap)
- Angular (with @ng-bootstrap)
- Vue.js templates
Key Features:
- Multiple layout arrangements (3+ per theme)
- 10+ pre-defined color schemes
- Unlimited customization options
- Personal and Developer licensing
- Original template by Colorlib
- Bootstrap 5 migration and modernization by contributors
- Icons by Font Awesome, Themify, and Flag Icons
- Charts powered by Chart.js and various libraries