Introduction & Setup

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.

1. Product Overview: Staffu SaaS Admin Template

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.

Key Features:

  • 4 specialized dashboards: Analytics, Sales, Attendance, and Performance
  • Employee, CRM, Projects, Payroll, and Reports app modules
  • Built-in Chat, Email, Calendar, and Team collaboration pages
  • Advanced Data Tables with DataTables.net
  • Interactive charts with ApexCharts and Chart.js
  • Reusable HTML partials via Gulp File Include
  • Dark / Light theme support
  • Full RTL and LTR layout support
  • 60+ ready-to-use HTML pages and UI components
  • Fully responsive Bootstrap 5 design
  • Gulp-powered development and production build workflow

Technology Stack:

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

2. License & Usage Terms

ThemeForest Marketplace license types and their usage limitations:

Regular License

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.

Extended License

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.

Important

Each license is valid for a single project only. For more details on Envato license terms, please visit the Official License Page

3. File Structure

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

4. Installation Guide

To run Staffu locally, you need Node.js (v18 or later) and npm installed on your system.

Step 1: Download & Extract

Download the ZIP file from ThemeForest and extract it to your local system.

Step 2: Navigate to Project

Open terminal and navigate to the project root directory:

cd staffu-html

Step 3: Install Dependencies

Run this command to install all required libraries:

npm install

Step 4: Start Development Server

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

Available Gulp Tasks

  • npx gulp dev — development build with live reload
  • npx gulp build — production build into build/
  • npx gulp build-rtl — compile RTL CSS only

5. Deployment

To 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.

6. Color Customization

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.

Modify src/scss/_variables.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.

7. Font Customization

Staffu uses the Nunito font family, imported in src/scss/_variables.scss and applied through Bootstrap's $font-family-base variable.

To Change Font:

  1. Choose a font from Google Fonts
  2. Replace the Google Fonts import in src/scss/_variables.scss
  3. Update $font-family-base in the same file
  4. Run npx 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;

8. Layout Options

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.

Layout Managers:

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

Layout HTML Partials:

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

Common Body Attributes:

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.

10. UI Components

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.

Starter Page Structure:

<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>

Available UI Pages:

  • Accordionsaccordions.html
  • Alertsalerts.html
  • Avatarsavatars.html
  • Badgesbadges.html
  • Buttonsbuttons.html
  • Cardscards.html
  • Carouselscarousels.html
  • Dropdownsdropdowns.html
  • List Grouplistgroup.html
  • Modalsmodals.html
  • Progress Barsprogress_bar.html
  • Spinnersspinners.html
  • Basic Inputsbasic_input.html
  • Input Groupsinput_group.html
  • Form Validationform_valid.html
  • Basic Tablesbasic_table.html
  • Data Tablesdata_table.html
  • Widgetswidgets.html
  • Bootstrap Iconsbootstrap_icon.html
  • Remix Iconsremix_icon.html
  • ApexChartsapexchart.html
  • Chart.jschartjs.html
  • Gallerygallery.html

Reuse existing partials from src/html/partials/components/ such as tables, cards, and page titles to keep new pages consistent with the template design.

11. Chart Usage

Staffu uses ApexCharts and Chart.js for dashboard analytics. Chart logic lives in page-specific files under src/js/pages/.

ApexCharts Example:

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.

12. Table Integration

Staffu uses DataTables.net with Bootstrap 5 styling for advanced tables such as sorting, pagination, filtering, and responsive layouts.

DataTables Example:

$(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.

13. FAQ (Frequently Asked Questions)

Run the project with 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.

Replace the logo files in 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.

Yes. Remove the theme toggle markup from 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.

Solution 1: Delete node_modules and package-lock.json, then run npm install again.
Solution 2: Clear npm cache with npm cache clean --force.
Solution 3: Use Node.js v18 or later.
Solution 4: Check SCSS syntax errors in src/scss/ or invalid HTML partial includes.

Step 1: Create a new HTML file in src/html/.
Step 2: Add a menu link in src/html/partials/components/sidemenu.html.
Step 3: Run npx gulp dev or npx gulp build.

Use 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.

Open src/scss/_variables.scss and update color variables such as $purple and $primary. Then recompile with npx gulp dev or npx gulp build.

Yes. With the Regular License, you can use it for one end product where users are not charged. With the Extended License, you can use it for paid SaaS products or commercial applications. You cannot resell or redistribute the template itself.

Open the right-side customizer panel and switch direction to RTL, or load any page with ?dir=rtl. Staffu automatically swaps to build/css/style.rtl.min.css through DirectionManager in src/js/layout.js.

Yes. Staffu is fully responsive on desktop, tablet, and mobile. The sidebar collapses into an offcanvas menu on smaller screens, and Bootstrap 5 utility classes handle responsive layouts across all pages.

14. Credits & Sources

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.

15. Support & Changelog

Support:

We provide dedicated support for 6 months from the date of purchase.

Contact Information:

Changelog:

v1.0.0
Latest

Date: 30 July 2026

  • Initial Release
  • Built with HTML5, Bootstrap 5, SCSS/Sass, and Gulp
  • 4 Dashboard layouts: Analytics, Sales, Attendance, Performance
  • Employee, CRM, Projects, Payroll, and Reports app pages
  • Advanced Data Tables with DataTables.net
  • 60+ HTML pages and UI components
  • Dark / Light theme support
  • RTL and LTR layout support
  • Fully responsive design