Doccure offers a complete hospital management system with 350+ pages, multiple role-based dashboards and 15+ prebuilt modules, built with a clean, modular structure.
Hospital Modules
- Patients, Doctors & Appointments
- Pharmacy, Laboratory & Radiology
- Emergency, ICU & Blood Bank
- Patient Care, EMR & Telemedicine
- Billing, Insurance & Finance
- HR, Payroll & Inventory
Dashboards & Pages
- Multiple role dashboards (Admin, Executive, Doctor, Nurse, Reception)
- 350+ ready-to-use HTML pages
- Authentication & error pages
- Reports, Users, Roles & Settings
- Chat, Calendar, Email, File Manager & To-do
UI Kit & Components
- Forms, Tables & Data Tables
- Apex Charts & Chart.js
- Modals, Alerts, Cards, Tabs & more
- Lucide, Font Awesome, Phosphor & Tabler icons
Layout & Technology
- Built with Tailwind CSS v4, Preline & Vite
- Fully responsive (Mobile, Tablet, Desktop)
- Light / Dark / System Mode
- RTL, Mini Sidebar & Full Width layouts
- Reusable HTML partials
- Sidebar search, favorites & recent pages
Project Overview
The template is organized cleanly. Here is the structure of the project files you'll see in the main directory:
hms/ ├── dist/ - Production build output (compiled HTML, CSS, JS, and vendor libs) ├── plugins/ - Custom build-time plugins (e.g. file inclusions) ├── src/ - Source files directory │ ├── index.html - Main page (dashboard) │ ├── (other HTML) - Module pages (appointments.html, billing.html, etc.) │ ├── partials/ - Shared HTML segments (header, topbar, sidebar, footer, breadcrumb) │ └── assets/ - Asset files directory │ ├── css/ - Global and components styling (style.css) │ ├── img/ - Images, icons, and logos │ └── js/ - JavaScript scripts (script.js, page-specific modules) ├── package.json - NPM packages and scripts ├── vite.config.js - Vite bundler and development configuration ├── postcss.config.js - CSS post-processing configuration └── yarn.lock - Lockfile for dependencies
Structure Overview
Doccure leverages the Tailwind CSS v4 framework to deliver a scalable and mobile-first user experience. The pages use shared template partials to keep the markup clean and maintainable.
A typical HTML page imports common layouts from the src/partials/ folder: title-meta.html, header.html, sidebar.html, topbar.html, breadcrumb.html, and script.html.
Below is the standard page markup structure:
<!DOCTYPE html>
<html lang="en">
<head>
@@include('partials/title-meta.html', {"title":"Billing — Dreams HMS"})
@@include('partials/header.html', {"page": "billing"})
</head>
<body class="bg-gray-50 overflow-x-hidden" data-page="billing">
<div class="main-wrapper">
@@include('partials/sidebar.html')
@@include('partials/topbar.html', {"placeholder":"Search invoices..."})
<!-- Main Content Area -->
<div>
<main class="flex-1 overflow-y-auto p-6 bg-gray-50 dark:bg-slate-900">
<div class="max-w-7xl mx-auto space-y-5">
@@include('partials/breadcrumb.html', {"current": "Billing", "parentUrl": "", "parent": ""})
<!-- Page modules content goes here -->
</div>
</main>
</div>
</div>
@@include('partials/script.html', {"page": "billing"})
</body>
</html>
Script Loading Overview
Doccure scripts are structured to load efficiently. Core scripts are loaded globally, while page-specific scripts are called directly when needed.
1. Core Theme Scripts
All core dynamics and theme actions are handled by the main script file, included in src/partials/script.html:
<script type="module" src="assets/js/script.js"></script>
2. Direct Script Calling (Page-Specific)
For page-specific libraries, custom plugins, or charts (such as Apex Charts, Flatpickr), scripts are called directly in src/partials/script.html by specifying their paths. Examples include:
Prerequisites
Before setting up the project, make sure you have the following environments installed on your machine:
- Node.js: Version 18.0 or higher. Download it from nodejs.org.
- Package Manager: You can use either NPM (installed with Node) or Yarn. Install Yarn globally with
npm install -g yarnif needed. - Vite: The build tool is configured locally inside the template. No global installation is needed.
Installation Steps
Extract & Open Project
Extract the downloaded Doccure package file, then open the project folder in your terminal or visual code editor (e.g. VS Code).
Install Dependencies
npm install # OR yarn install
This command downloads all libraries listed in your package.json file into a newly created node_modules/ folder. It also copies required assets to the libs folder automatically.
Start Development Server
npm run dev # OR yarn run dev
Starts the Vite dev server. It watches for changes in any HTML, CSS, or JS file and hot-reloads the page in your browser immediately.
Open in Browser
Open your browser and visit the local address outputted in the terminal (usually http://localhost:3000).
Production Build
When you are ready to prepare files for production, run the build command to generate a minified, compiled, and optimized folder named dist/:
npm run build # OR yarn run build
Deployment
Deploy all files located inside the dist/ folder directly onto your web server. The build output includes minified scripts, compiled Tailwind CSS, and optimized layout files, ready for production use.
You can easily update the logo in two ways:
Option 1: Overwrite Logo Image Files (Recommended)
Directly replace the default SVG logo files in the src/assets/img/ directory with your own logos using the same file names:
logo.svg: Main logo (shown in light mode).logo-small.svg: Small square logo (shown when sidebar is collapsed/minimized).logo-white.svg: White text logo (shown in dark mode).
Option 2: Update HTML Templates
If you want to use different names or paths, open the template partial files: src/partials/topbar.html and src/partials/sidebar.html, and search for the logo tags to modify their src attribute:
The default typography font for the template is Inclusive Sans. To change it:
Open the style file src/assets/css/style.css and update the @import statement at the top of the file as well as the primary font variable in the @theme configuration block:
/* 1. Import the new Google Font at the very top of style.css */
@import url("https://fonts.googleapis.com/css2?family=Inclusive+Sans:ital,wght@0,300..700;1,300..700&display=swap");
/* 2. Update the font variable inside the @theme block */
@theme {
--font-family-primary: "Inclusive Sans", sans-serif;
}
All theme colors are defined as design tokens under the @theme directive in your src/assets/css/style.css file. These variables control the look and feel of components:
@theme {
--color-primary: #0371c6;
--color-primary-hover: #045aa0;
--color-secondary: #f9f0d9;
--color-secondary-hover: #06446f;
--color-danger: #e7000b;
--color-success: #009966;
--color-warning: #f59e0b;
--color-info: #008cff;
--color-dark: #0c0c0c;
--color-light: #f8fafc;
}
Shades such as primary-100 to primary-900 are generated from the base colors with color-mix(), so changing --color-primary updates every related utility (bg-primary, text-primary, border-primary, etc.).
How it Works
Theme switching works by adding or removing the dark class on the root <html> element. Users choose Light, Dark or System from the Appearance switcher in the topbar, and the choice is saved in localStorage (key medicore-theme) and restored on page load.
1. Attribute Control
To enable dark mode, add the class on the root tag:
<html lang="en" class="dark">
2. Tailwind CSS v4 Integration
In style.css, dark mode uses a custom variant that links the Tailwind dark: modifiers to the .dark class:
@variant dark (&:where(.dark, .dark *));
You can write responsive layouts by simply adding prefix variants to any tag like dark:bg-slate-800 or dark:text-white.
The default vertical layout with a left sidebar, topbar, and center content area.
- Sidebar: Navigation menu, logo, profile details, and collapsible dropdowns.
- Topbar: Search input, user alerts, settings, and profile toggle actions.
- Responsive: Collapses into an overlay sidebar on tablets and mobile screens automatically.
A screen-saving option that collapses the sidebar to show icons only. Add class mini-sidebar to the <body> to activate.
- Icon View: Collapses to 56px to maximize the main work area.
- Hover Expand: Hovering expands the sidebar to reveal module text labels.
- Toggle: Switch between default and mini sidebar using the toggle button in the topbar.
Doccure is developed by Dreams Technologies and is available under both Envato Extended & Regular License options.
Regular License
Usage by either yourself or a single client is permitted for a single end product, provided that end users are not subject to any charges.
Extended License
For use by you or one client in a single end product for which end users may be charged.
What are the main differences between the Regular License and the Extended License?
If you operate as a freelancer or agency, you have the option to acquire the Extended License, which permits you to utilize the item across multiple projects on behalf of your clients.
Doccure is built upon several open-source libraries, frameworks, and typography assets. We appreciate the contribution of the following resources:
| Asset Name | Official Website URL |
|---|---|
| Tailwind CSS | https://tailwindcss.com/ |
| Vite JS | https://vite.dev/ |
| Lucide Icons | https://lucide.dev/ |
| Font Awesome | https://fontawesome.com/ |
If you have any questions or run into issues with the template, feel free to contact us via email at support@dreamstechnologies.com.
Response Time: Typically 12–24 hours on weekdays (GMT+5:30). Support covers template bugs, errors, and standard features. It does not cover custom installations or custom coding changes.
Contact SupportDo you need custom development for your application?
If you need customization, new page integration, feature setups, or database connections, our engineering team can help tailor this template to your precise specifications.
- Tailoring features to your exact branding and workflow.
- Deploying the template to your production servers.
- Integrating backend endpoints and databases.
Thank You
Thank you for choosing **Doccure**! We hope this template facilitates building your application. We kindly ask you to share your feedback by leaving a rating on ThemeForest.
Leave a Review