# Adminator Bootstrap 5 Admin Template v2.7.0 **Adminator** is a responsive Bootstrap 5 Admin Template built with modern development tools. It provides you with a collection of ready to use code snippets and utilities, custom pages, a collection of applications and some useful widgets. πŸš€ **Latest Update (v2.7.0)**: **100% jQuery-Free** - Complete removal of jQuery dependency (~600KB bundle reduction) with modern vanilla JavaScript implementation. ⚑ **Performance Benefits**: Faster load times, smaller bundle size, modern ES6+ code, and zero jQuery overhead. πŸ“š **[Complete Documentation](https://puikinsh.github.io/Adminator-admin-dashboard/)** - Detailed setup guides, API reference, and examples Preview of this awesome admin template available here: https://colorlib.com/polygon/adminator/index.html # Preview ### Screenshots **Light Mode:** ![Adminator Bootstrap 5 Light Mode](https://colorlib.com/wp/wp-content/uploads/sites/2/adminator-bootstrap-5-light.png.avif) **Dark Mode:** ![Adminator Bootstrap 5 Dark Mode](https://colorlib.com/wp/wp-content/uploads/sites/2/adminator-bootstrap-5-dark.png.avif) ### Demo Site: [Here](https://colorlib.com/polygon/adminator/index.html) ## TOC - [What's New in v2.7.0](#whats-new-in-v270) - [Getting Started](#getting-started) - [Prerequisites](#prerequisites) - [Installing & Local Development](#installing--local-development) - [Adminator for other platforms and frameworks](#adminator-for-other-platforms-and-frameworks) - [Files/Folder Structure](#filesfolders-structure) - [Deployment](#deployment) - [Built With](#built-with) - [Changelog](#changelog) - [Authors](#authors) - [License](#license) ## What's New in v2.7.0 πŸš€ **jQuery-Free Release** - Complete removal of jQuery dependency with modern vanilla JavaScript: ### πŸ’₯ Major Performance Improvements - **⚑ ~600KB Bundle Reduction**: Eliminated jQuery and all jQuery-dependent plugins - **πŸš€ Faster Load Times**: Native DOM manipulation for optimal performance - **πŸ“¦ Smaller Bundle Size**: Significantly reduced JavaScript payload - **🌟 Modern ES6+ Code**: Class-based architecture with modern JavaScript features ### πŸ”„ jQuery Replacements (Zero Breaking Changes) - **πŸ“Š Chart.js**: Replaced jQuery Sparkline with Chart.js mini charts - **πŸ“… HTML5 Date Pickers**: Enhanced native date inputs with Day.js support - **πŸ“‹ Vanilla DataTables**: Custom table component with sorting and pagination - **🎨 SVG Pie Charts**: Pure JavaScript circular progress indicators - **πŸ—ΊοΈ Vector Maps**: JavaScript-based world map with markers and interactions - **πŸ’¬ Vanilla Popovers**: Lightweight alternatives to Bootstrap JS components ### πŸ› οΈ Technical Achievements - **🎯 100% Vanilla JavaScript**: No jQuery dependency anywhere in the codebase - **♻️ Component Architecture**: Modern class-based components (Sidebar, Charts, etc.) - **πŸ”§ Enhanced DOM Utilities**: jQuery-like functionality using native JavaScript - **πŸ“± Mobile Optimized**: Touch-friendly interactions and responsive behavior - **πŸŒ™ Theme Integration**: All new components fully support dark/light mode switching ### πŸŒ™ Previous Updates (v2.6.0 - Dark Mode System) ### 🎨 Dark Mode Features - **πŸŒ— Smart Theme Toggle**: Bootstrap-based switch with sun/moon icons and intuitive labels - **πŸ”„ OS Preference Detection**: Automatically detects and applies your preferred color scheme - **πŸ’Ύ Persistent Storage**: Remembers your theme choice across browser sessions - **⚑ Instant Switching**: Real-time theme updates without page reload - **🎯 Component Integration**: All charts, calendars, maps, and UI elements are theme-aware ### πŸ› οΈ Technical Implementation - **🎨 CSS Variables Architecture**: Comprehensive color system with semantic naming - **πŸ“Š Chart.js Integration**: Dynamic color schemes for all chart types - **πŸ—“οΈ FullCalendar Support**: Dark-mode aware calendar with proper contrast - **πŸ—ΊοΈ Vector Maps**: Custom color palettes for both light and dark themes - **πŸŽͺ Component Compatibility**: Theme support across all interactive elements ### πŸš€ Previous Updates (v2.5.0) - **Latest Dependencies**: All 22+ dependencies updated to latest versions - **Modern Build Tools**: webpack 5.99.9, webpack-dev-server 5.2.2 - **ESLint 9.x**: Migrated to modern flat config format - **Enhanced CSS**: Latest Sass (1.89.2), PostCSS (8.5.6), Bootstrap (5.3.7) - **Updated Components**: Chart.js 4.5.0, FullCalendar 6.1.17 - **Zero Vulnerabilities**: Complete security audit with all packages secure ## Getting Started In order to run **Adminator** on your local machine all what you need to do is to have the prerequisites stated below installed on your machine and follow the installation steps down below. Prebuilt static assets can be found under [releases](https://github.com/puikinsh/Adminator-admin-dashboard/releases). #### Prerequisites - **Node.js 18.12.0 or higher** (tested with Node.js 23.11.0) - **npm** (included with Node.js) or **Yarn** - **Git** #### Installing & Local Development Start by typing the following commands in your terminal in order to get **Adminator** full package on your machine and starting a local development server with live reload feature. ```bash # Clone the repository git clone https://github.com/puikinsh/Adminator-admin-dashboard.git adminator # Navigate to the project directory cd adminator # Install dependencies npm install # Start development server (available at http://localhost:4000) npm start # Alternative: Start with webpack dashboard npm run dev ``` #### Development Commands ```bash # Development server with hot reload npm start # Development server with dashboard npm run dev # Build for production (optimized) npm run build # Build for production (unminified) npm run release:unminified # Build for production (minified) npm run release:minified # Preview production build npm run preview # Lint JavaScript files npm run lint:js # Lint SCSS files npm run lint:scss # Run all linters npm run lint ``` ## πŸŒ™ Dark Mode Usage Adminator now includes a comprehensive dark mode system that works out of the box: ### **Automatic Setup** - Dark mode is automatically initialized on page load - Detects your OS preference (light/dark) on first visit - Remembers your choice across browser sessions ### **Theme Toggle** - Look for the **Light/Dark** toggle switch in the header navigation - Click to instantly switch between light and dark themes - Visual feedback with sun β˜€οΈ and moon πŸŒ™ icons ### **For Developers** πŸ“š **[Complete Theme API Documentation β†’](https://puikinsh.github.io/Adminator-admin-dashboard/api/theme-api)** **Using the Theme API:** ```javascript // Get current theme const currentTheme = Theme.current(); // 'light' or 'dark' // Switch themes programmatically Theme.toggle(); // Set specific theme Theme.apply('dark'); // Listen for theme changes window.addEventListener('adminator:themeChanged', (event) => { console.log('Theme changed to:', event.detail.theme); }); ``` **CSS Variables for Custom Styling:** ```css .my-component { background: var(--c-bkg-card); color: var(--c-text-base); border: 1px solid var(--c-border); } ``` **Available CSS Variables:** - `--c-bkg-body` - Main background - `--c-bkg-card` - Card backgrounds - `--c-text-base` - Primary text color - `--c-text-muted` - Secondary text color - `--c-border` - Border colors - `--c-primary` - Primary brand color πŸ“– **[View Complete CSS Variables Reference β†’](https://puikinsh.github.io/Adminator-admin-dashboard/customization/theme-system)** ## Documentation πŸ“š **[Complete Documentation Site](https://puikinsh.github.io/Adminator-admin-dashboard/)** - Comprehensive guides and API reference ### Quick Links: - πŸš€ **[Installation Guide](https://puikinsh.github.io/Adminator-admin-dashboard/getting-started/installation)** - Complete setup instructions - πŸŒ™ **[Theme System](https://puikinsh.github.io/Adminator-admin-dashboard/customization/theme-system)** - Dark mode and theming - πŸ”§ **[API Reference](https://puikinsh.github.io/Adminator-admin-dashboard/api/theme-api)** - JavaScript API documentation - πŸ’‘ **[Examples](https://puikinsh.github.io/Adminator-admin-dashboard/examples/theme-integration)** - Integration examples ## Adminator for other platforms and frameworks * [Adminator right to left](https://github.com/mortezakarimi/Adminator-admin-dashboard-rtl) - Adminator modified to work with right to left languages like Persian and Arabic ## Files/Folders Structure Here is a brief explanation of the template folder structure and some of its main files usage: ``` └── src # Contains all template source files. β”‚ └── assets # Contains JS, CSS, images and icon fonts. β”‚ β”‚ └── scripts # Contains all JavaScript files. β”‚ β”‚ β”‚ └── charts # Chart.js, Sparkline & Pie Chart plugins init. β”‚ β”‚ β”‚ └── chat # All chat app JS code. β”‚ β”‚ β”‚ └── constants # Template constant values like color values. β”‚ β”‚ β”‚ └── datatable # Date table plugin init. β”‚ β”‚ β”‚ └── datepicker # Bootstrap datepicker init. β”‚ β”‚ β”‚ └── email # All email app code. β”‚ β”‚ β”‚ └── fullcalendar # Fullcalendar plugin init. β”‚ β”‚ β”‚ └── googleMaps # Google maps API integration code. β”‚ β”‚ β”‚ └── masonry # Masonry layout code. β”‚ β”‚ β”‚ └── popover # Bootstrap popover plugin init. β”‚ β”‚ β”‚ └── scrollbar # Perfect scrollbar plugin init. β”‚ β”‚ β”‚ └── search # Topbar toggle search init. β”‚ β”‚ β”‚ └── sidebar # Sidebar JS code. β”‚ β”‚ β”‚ └── skycons # Animated icons plugin init. β”‚ β”‚ β”‚ └── utils # Basic utils used for proper rendering. β”‚ β”‚ β”‚ └── vectorMaps # Vector maps plugin init. β”‚ β”‚ β”‚ └── app.js # Main application entry point. β”‚ β”‚ β”‚ β”‚ β”‚ └── static # Contains the non-code files. β”‚ β”‚ β”‚ └── fonts # Contains icon fonts. β”‚ β”‚ β”‚ └── images # Contains all template images/svg. β”‚ β”‚ β”‚ β”‚ β”‚ └── styles # Contains all SCSS files. β”‚ β”‚ └── spec # Contains custom SCSS files. β”‚ β”‚ β”‚ └── components # Contains all template components. β”‚ β”‚ β”‚ └── generic # Contains basic scaffolding styles. β”‚ β”‚ β”‚ └── screens # Contains views specific styles. β”‚ β”‚ β”‚ └── settings # Contains all template variables. β”‚ β”‚ β”‚ └── tools # Contains all mixins. β”‚ β”‚ β”‚ └── utils # Contains helper classes. β”‚ β”‚ β”‚ └── index.scss # Indicator file. β”‚ β”‚ β”‚ β”‚ β”‚ └── vendor # Contains all plugin files & custom styles. β”‚ β”‚ └── index.scss # Main style entry point. β”‚ β”‚ β”‚ └── *.html # All HTML template pages. └── webpack # Contains Webpack configuration. β”‚ └── plugins # Contains all Webpack plugins config. β”‚ └── rules # Contains Webpack loaders config. β”‚ └── config.js # Main Webpack configuration. β”‚ └── devServer.js # Development server configuration. β”‚ └── manifest.js # Build system constants. β”‚ └── .babelrc # Babel ES6 transpiler configuration. └── .editorconfig # Code editor consistency settings. └── eslint.config.mjs # ESLint 9.x flat configuration. └── .gitattributes # Git attributes configuration. └── .gitignore # Git ignore patterns. └── .stylelintrc.json # SCSS/CSS linting configuration. └── browserslist # Supported browsers configuration. └── CHANGELOG.md # Version history and updates. └── package.json # Node.js package configuration. └── README.md # This documentation file. └── webpack.config.js # Webpack entry configuration. ``` ## Deployment In deployment process, you have several commands: 1. **Production Build** - Generate optimized assets for production: ```bash npm run build ``` 2. **Production Preview** - Preview the production build locally: ```bash npm run preview ``` 3. **Custom Builds**: ```bash # Unminified production build (for debugging) npm run release:unminified # Minified production build (smallest size) npm run release:minified ``` The built files will be available in the `dist/` directory. ## Built With ### Core Framework & Build Tools - [Bootstrap 5.3.7](http://getbootstrap.com/) - Modern CSS framework - [Webpack 5.99.9](https://webpack.js.org/) - Module bundler and build tool - [Babel 7.27.x](https://babeljs.io/) - JavaScript transpiler - [Sass 1.89.2](http://sass-lang.com/) - CSS preprocessor - [PostCSS 8.5.6](http://postcss.org/) - CSS transformations - [ESLint 9.29.0](https://eslint.org/) - JavaScript linting (flat config) - [Stylelint 16.21.0](https://stylelint.io/) - CSS/SCSS linting ### UI Components & Charts - [Chart.js 4.5.0](http://www.chartjs.org/) - Modern charting library - [FullCalendar 6.1.17](https://fullcalendar.io/) - Interactive calendar - [DataTables](https://datatables.net/) - Advanced table functionality - [Easy Pie Chart](http://rendro.github.io/easy-pie-chart/) - Animated pie charts - [Perfect Scrollbar 1.5.6](https://github.com/utatti/perfect-scrollbar) - Custom scrollbars ### JavaScript Libraries - **[Chart.js 4.5.0](http://www.chartjs.org/)** - Modern charting library (replaces jQuery Sparkline) - **[jsvectormap 1.6.0](https://github.com/themustafaomar/jsvectormap)** - Interactive vector maps (replaces jVectorMap) - [Lodash 4.17.21](https://lodash.com/) - Utility library - [Day.js 1.11.13](https://day.js.org/) - Modern 2KB date library (replaces Moment.js) - [Masonry 4.2.2](https://masonry.desandro.com/) - Grid layouts - **100% Vanilla JavaScript** - No jQuery dependency ### Icons & Fonts - [Font Awesome](http://fontawesome.io/) - Icon library - [Themify Icons](https://themify.me/themify-icons) - Additional icons - [Roboto Font](https://fonts.google.com/specimen/Roboto) - Google Fonts ### Additional Plugins - **HTML5 Date Inputs** - Enhanced native date pickers (replaces Bootstrap Datepicker) - [Skycons](https://darkskyapp.github.io/skycons/) - Animated weather icons - [Load Google Maps API](https://github.com/yuanqing/load-google-maps-api) - Maps integration ## Changelog See [CHANGELOG.md](CHANGELOG.md) for detailed version history. πŸ“š **[Online Documentation](https://puikinsh.github.io/Adminator-admin-dashboard/)** includes comprehensive guides for all features. #### Latest Release: V 2.7.0 (2025-07-09) - **πŸš€ 100% jQuery-Free** - Complete removal of jQuery dependency (~600KB reduction) - **⚑ Modern Vanilla JavaScript** - Class-based architecture with ES6+ features - **πŸ“Š Chart.js Integration** - Replaced jQuery Sparkline with Chart.js - **πŸ“… HTML5 Date Pickers** - Enhanced native inputs with Day.js support - **πŸ—ΊοΈ SVG Vector Maps** - Pure JavaScript world maps with theme support - **🎯 Zero Breaking Changes** - All functionality preserved with better performance #### Previous Releases - **V 2.6.0**: Complete Dark Mode System with theme switching - **V 2.5.0**: Updated all dependencies, ESLint 9.x, zero vulnerabilities - **V 2.1.0**: Upgraded all dependencies - **V 2.0.0**: Upgrade to Bootstrap 5 - **V 1.1.0**: Upgrade to webpack 5 - **V 1.0.0**: Initial Release ## Authors [Colorlib](https://colorlib.com) ## More info - [Bootstrap Dashboards](https://colorlib.com/wp/free-bootstrap-admin-dashboard-templates/) - [Bootstrap Templates](https://colorlib.com/wp/free-bootstrap-templates/) - [HTML Templates](https://colorlib.com/wp/free-html-website-templates/) - [Free Admin Dashboards](https://colorlib.com/wp/free-html5-admin-dashboard-templates/) - [Website Templates](https://colorlib.com/wp/templates/) - [Free CSS Templates](https://colorlib.com/wp/free-css-website-templates/) - [WordPress Themes](https://colorlib.com/wp/free-wordpress-themes/) ## License Adminator is licensed under The MIT License (MIT). Which means that 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.