Welcome to Staffu — complete documentation for the HTML5, Bootstrap 5, SCSS/Sass, and JavaScript SaaS Admin Dashboard Template. This guide covers installation, Gulp build workflow, customization, and how to use the included dashboards, apps, and UI components for employee management, CRM, projects, and analytics.
Staffu is a modern, responsive admin dashboard template built with HTML5, Bootstrap 5, SCSS/Sass, JavaScript, and Gulp. It is designed for SaaS teams managing employees, CRM clients, projects, payroll, analytics, and business reports from a single admin interface.
| Technology | Version | Description |
|---|---|---|
| HTML5 | — | Semantic markup with reusable partials |
| Bootstrap | ^5.3.8 | Responsive UI framework |
| Sass / SCSS | ^1.93.2 | Theme styling and customization |
| JavaScript | ES6+ | Page logic, layout controls, and interactions |
| Gulp | ^5.0.1 | Build automation, watch, and BrowserSync |
| gulp-file-include | ^2.3.0 | HTML partial compilation |
| gulp-sass | ^6.0.1 | SCSS compilation with LTR and RTL output |
| BrowserSync | ^3.0.4 | Live reload development server |
| ApexCharts | ^5.3.6 | Interactive charts library |
| Chart.js | ^4.5.1 | Chart and graph components |
| DataTables.net | ^2.3.7 | Advanced sortable and responsive tables |
| FullCalendar | ^6.1.20 | Calendar and scheduling UI |
| Quill | ^2.0.3 | Rich text editor |
| Flatpickr | ^4.6.13 | Date and time picker |
| SimpleBar | ^6.3.3 | Custom scrollbar for sidebar and panels |
| Remix Icon | ^4.7.0 | Primary icon set used across the template |
| Bootstrap Icons | ^1.13.1 | Secondary icon library |
| jKanban | ^1.3.1 | Kanban board layout support |
| Swiper | ^12.1.2 | Touch slider and carousel |
| GSAP | ^3.13.0 | Animation library |
ThemeForest Marketplace license types and their usage limitations:
Use this for a single end product that users are not charged for. You can use this for your personal project or for one client.
Use this for a single end product that users can be charged for (e.g., a SaaS platform or a product for sale). This is required for any commercial project where the end-user pays to use the service.
Each license is valid for a single project only. For more details on Envato license terms, please visit the Official License Page
The project follows a standard HTML + Gulp workflow. Source files live in src/, and compiled production files are generated in build/.
staffu-html/
├── src/
│ ├── data/
│ ├── html/
│ │ ├── partials/
│ │ │ ├── components/
│ │ │ └── layout/
│ │ ├── index.html
│ │ ├── sales_lead.html
│ │ ├── attendance.html
│ │ ├── employee_list.html
│ │ └── ... (60+ pages)
│ ├── images/
│ ├── js/
│ │ ├── layout.js
│ │ ├── main.js
│ │ └── pages/
│ ├── scss/
│ │ ├── style.scss
│ │ ├── _variables.scss
│ │ ├── _custom-variables.scss
│ │ ├── _variable-dark.scss
│ │ ├── Components/
│ │ ├── Layout/
│ │ ├── Pages/
│ │ └── Plugins/
│ └── videos/
├── build/ (generated after gulp build)
│ ├── css/
│ ├── js/
│ ├── images/
│ ├── plugins/
│ ├── data/
│ ├── videos/
│ └── *.html
├── gulpfile.js
├── package.json
└── package-lock.json
To run Staffu locally, you need Node.js (v18 or later) and npm installed on your system.
Download the ZIP file from ThemeForest and extract it to your local system.
Open terminal and navigate to the project root directory:
cd staffu-html
Run this command to install all required libraries:
npm install
Run Gulp in development mode to compile assets, start BrowserSync, and watch for file changes:
npx gulp dev
The project will compile into the build/ folder and open at
http://localhost:3000
npx gulp dev — development build with live reloadnpx gulp build — production build into build/npx gulp build-rtl — compile RTL CSS onlyTo create an optimized build for production, run the following command:
npx gulp build
This command creates a build/ folder containing compiled HTML, CSS, JavaScript, images, plugins, and data files. Upload the contents of the
build/ folder to your hosting server.
All theme colors in Staffu are managed through SCSS files inside src/scss/. Update the main palette in _variables.scss and dark theme values in _variable-dark.scss.
// Main brand colors
$indigo: #6f5fe0;
$purple: #4666e1;
$blue: #1774ff;
$green: #28adbb;
$red: #e25867;
// Primary theme color
$primary: $purple;
After changing SCSS files, run npx gulp dev or npx gulp build to regenerate build/css/style.min.css and build/css/style.rtl.min.css.
Staffu uses the Nunito font family, imported in
src/scss/_variables.scss and applied through Bootstrap's
$font-family-base variable.
src/scss/_variables.scss$font-family-base in the same filenpx gulp dev or npx gulp build to recompile CSS// src/scss/_variables.scss
@import url('https://fonts.googleapis.com/css2?family=Your+Font+Name&display=swap');
$font-family-base: "Your Font Name", sans-serif;
Staffu layout behavior is controlled through HTML partials and JavaScript managers in src/js/layout.js. Theme, sidebar, direction, and layout preferences are saved in localStorage and applied using body/data attributes.
| Manager | File | Purpose |
|---|---|---|
| ThemeManager | src/js/layout.js |
Dark / Light theme toggle with animated transitions |
| SidebarManager | src/js/layout.js |
Mobile offcanvas menu and sidebar collapse behavior |
| SidebarLayoutManager | src/js/layout.js |
Compact (sm) and expanded (lg) sidebar sizes |
| DirectionManager | src/js/layout.js |
RTL / LTR switching and CSS file swap |
| UIThemeManager | src/js/layout.js |
Preset theme color selection from the customizer panel |
| UILayoutManager | src/js/layout.js |
Default and boxed layout modes |
| SidebarColorManager | src/js/layout.js |
Sidebar background color presets |
| HeaderColorManager | src/js/layout.js |
Topbar background color presets |
| Partial | File | Description |
|---|---|---|
| Header | src/html/partials/layout/header.html |
Topbar with search, theme toggle, notifications, and profile menu |
| Left Sidebar | src/html/partials/layout/left-sidebar.html |
Main sidebar wrapper |
| Side Menu | src/html/partials/components/sidemenu.html |
Navigation links for dashboards, apps, pages, and components |
| Right Sidebar | src/html/partials/layout/right-sidebar.html |
Theme customizer panel for layout, colors, and direction |
| Footer | src/html/partials/layout/footer.html |
Page footer area |
| CSS Includes | src/html/partials/layout/css.html |
Plugin styles and main compiled CSS link |
| JS Includes | src/html/partials/layout/footer-js.html |
Bootstrap, SimpleBar, and combined layout scripts |
data-bs-theme="light" | "dark"
data-sidebar="lg" | "sm"
data-layout="default" | "boxed"
data-theme-colors="default"
dir="ltr" | "rtl"
Note: Staffu uses Remix Icons and Bootstrap Icons. Sidebar menu links are defined in sidemenu.html, not through a JavaScript router.
Staffu includes ready-made Bootstrap 5 UI pages inside src/html/. Styles are organized in src/scss/Components/ and compiled into build/css/style.min.css.
<div class="container-fluid">
<div class="row">
<div class="col-12">
<div class="card">
<div class="card-body">
<h5 class="card-title mb-2">Card Title</h5>
<p class="mb-0">Your page content goes here.</p>
</div>
</div>
</div>
</div>
</div>
accordions.htmlalerts.htmlavatars.htmlbadges.htmlbuttons.htmlcards.htmlcarousels.htmldropdowns.htmllistgroup.htmlmodals.htmlprogress_bar.htmlspinners.htmlbasic_input.htmlinput_group.htmlform_valid.htmlbasic_table.htmldata_table.htmlwidgets.htmlbootstrap_icon.htmlremix_icon.htmlapexchart.htmlchartjs.htmlgallery.htmlReuse existing partials from src/html/partials/components/ such as tables, cards, and page titles to keep new pages consistent with the template design.
Staffu uses ApexCharts and Chart.js for dashboard analytics. Chart logic lives in page-specific files under src/js/pages/.
document.addEventListener("DOMContentLoaded", function () {
Apex = {
chart: {
fontFamily: 'Nunito, sans-serif'
}
};
const chartEl = document.querySelector(".revenueChart");
if (chartEl) {
new ApexCharts(chartEl, {
series: [{
name: 'Revenue',
data: [6000000, 9500000, 7450000, 12300000, 9000000, 15500000]
}],
chart: {
type: 'area',
height: 100,
sparkline: { enabled: true },
toolbar: { show: false }
},
colors: ['#4666e1'],
stroke: { curve: 'smooth', width: 2 }
}).render();
}
});
Reference Files: Check src/js/pages/performance.js, src/js/pages/overview.js, and src/html/apexchart.html for more chart examples.
Note: Charts use Nunito typography and template color values such as #4666e1. Update series data directly in the page JS file or load it from your backend API.
Staffu uses DataTables.net with Bootstrap 5 styling for advanced tables such as sorting, pagination, filtering, and responsive layouts.
$(document).ready(function () {
$('#pageTable').DataTable({
responsive: true,
paging: true,
searching: false,
info: true,
lengthChange: true,
pageLength: 10,
lengthMenu: [[10, 25, 50, -1], [10, 25, 50, "All"]],
ordering: false
});
});
Reference Files: See src/js/pages/data_table.js, src/html/data_table.html, and reusable table partials inside src/html/partials/components/.
Note: DataTables styles are loaded from plugins/datatables.net-bs5/ through src/html/partials/layout/css.html.
npx gulp dev and open pages from the generated build/ folder. Make sure image paths such as images/logos/logo_dark.png exist inside src/images/ and that Gulp has copied them successfully.
src/images/logos/ and update the image paths in src/html/partials/layout/header.html and src/html/partials/layout/left-sidebar.html if needed.src/html/partials/layout/header.html. To force a default theme, set data-bs-theme="light" or data-bs-theme="dark" on the <html> tag in your page partials.
node_modules and package-lock.json, then run npm install again.npm cache clean --force.src/scss/ or invalid HTML partial includes.
src/html/.src/html/partials/components/sidemenu.html.npx gulp dev or npx gulp build.
fetch or axios inside page scripts in src/js/pages/. Load the returned data into charts, tables, or HTML elements on the page. Staffu is frontend-only, so backend integration is handled in your custom JavaScript files.
src/scss/_variables.scss and update color variables such as $purple and $primary. Then recompile with npx gulp dev or npx gulp build.
?dir=rtl. Staffu automatically swaps to build/css/style.rtl.min.css through DirectionManager in src/js/layout.js.
List of external resources used in Staffu:
| Resource | Description | Link |
|---|---|---|
| Bootstrap | Responsive UI framework | getbootstrap.com |
| Sass | CSS preprocessor | sass-lang.com |
| Gulp | Build automation | gulpjs.com |
| ApexCharts | Charts library | apexcharts.com |
| Chart.js | Chart library | chartjs.org |
| DataTables.net | Advanced tables | datatables.net |
| FullCalendar | Calendar component | fullcalendar.io |
| Quill | Rich text editor | quilljs.com |
| Flatpickr | Date picker | flatpickr.js.org |
| SimpleBar | Custom scrollbar | simplebar |
| Remix Icon | Icon library | remixicon.com |
| Bootstrap Icons | Icon library | icons.getbootstrap.com |
| Google Fonts (Nunito) | Typography | fonts.google.com |
Important: Demo images are for preview purposes only. Replace them with your own assets before production use.
We provide dedicated support for 6 months from the date of purchase.
Date: 30 July 2026