基于 Bootstrap 5 的响应式深色后台界面
kavlan-html-bootstrap — HTML 后台模板
作者 ThikerXCX
Kavlan 是一个基于 Bootstrap 5 的免费响应式 HTML 后台管理模板,包含仪表盘、登录、注册、忘记密码、404 和空白页共 6 个页面,使用 Handlebars 与 JSON 数据组织内容。
看看你的网站会是什么样
浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。
全部页面与视图 2
截图用于了解视觉与布局,交互效果请以实际项目为准。
值得关注的模板亮点
从已有项目资料中,快速了解它的特点。
包含仪表盘、登录、注册、忘记密码、404 和空白页共 6 个页面
使用 Handlebars partials 与 src/data 下的 JSON 数据减少重复代码
集成 Chart.js,提供三种图表类型
提供可折叠侧边栏、通知、头像、最新订单等组件
源码使用 SASS,theme.scss 为样式入口,可通过 Webpack 重新编译
模板详细介绍
Kavlan 是一个面向后台管理界面的 HTML 模板,基于 Bootstrap 5 构建,整体为深色数据界面风格。模板共提供 6 个页面:仪表盘、登录页、注册页、忘记密码页、404 页和空白页。源码使用 Handlebars.js 作为模板引擎,通过 partials 复用页头、导航、面包屑等片段,并借助 Webpack 的 Handlebars 插件读取 src/data 下的 JSON 文件来生成列表等重复内容。
模板包含 Chart.js 的三种图表类型、最新订单组件、可折叠侧边栏(浏览器窗口缩放时自动折叠)、通知组件、头像组件以及登录/注册组件。样式源码位于 src/assets/scss,theme.scss 是 SASS/CSS 的入口文件。
需要明确的是,这是一个纯 HTML 模板,不连接数据库,也不会自动运行在 WordPress 等内容管理系统中,需要自行把代码集成到应用中。项目提供 dist 目录作为编译后的成品,若直接修改 dist 中的文件,之后重新编译会被覆盖。源码开发需要安装 Node.js,并在项目根目录执行 npm install、npm start 启动 Webpack 开发服务器,npm run build 重新编译输出到 dist。新增页面时可在 src/html 中复制现有页面并重命名,重启开发服务器后即可访问。
代码采用 MIT 许可,允许免费使用、修改、商用和分发,但分发代码副本或实质性部分时需保留版权声明和完整 MIT 许可声明。演示中的图片、字体、图标等第三方素材需按各自许可单独核对;域名、托管、数据库等外部服务可能另外收费。
适合你的项目吗?
适用场景
- 搭建后台管理系统的静态界面原型
- 为现有应用快速套用 Bootstrap 5 后台布局
- 作为学习 Handlebars partials 与 JSON 数据驱动页面生成的示例
- 在需要登录、注册、404 等基础页面的项目中复用页面结构
适合人群
- 需要免费 MIT 许可后台 HTML 模板的开发者
- 使用 Bootstrap 5 并希望以 SASS 定制样式的项目
- 接受纯静态模板、自行对接后端数据的前端项目
- 需要快速产出后台页面结构原型的设计与开发人员
上手与定制指南
结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。
- 1
只修改 dist 目录中的文件时无需安装依赖,可直接编辑。
- 2
基于源码开发需先安装 Node.js,然后在项目根目录执行 npm install。
- 3
运行 npm start 启动 Webpack 开发服务器,运行 npm run build 重新编译输出到 dist。
- 4
新增页面可在 src/html 中复制现有页面并重命名,重启开发服务器后生效。
- 5
模板不连接数据库,也不自动运行于 WordPress 等内容管理系统,需要自行集成到应用中。
授权与来源资料
使用条件与限制
免费使用 · 保留许可声明本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。
使用时需要遵守
- 允许免费使用、修改、商用和分发该版本代码。
- 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
- 代码按现状提供;担保与责任限制以原许可证及适用法律为准。
额外费用与待核对事项
- 该模板仅为纯 HTML 模板,不连接数据库,也不会自动运行于 WordPress 等内容管理系统,需自行将代码集成到应用中。
- 直接修改 dist 目录中的文件后,若之后用 Webpack 重新编译且未将 dist 移出模板,改动会被覆盖。
- 基于源码开发需先安装 Node.js,并在项目根目录执行 npm install、npm start 或 npm run build。
- 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
- 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据
Permission is hereby granted, free of charge
许可证原文
**Please note that this is an HTML template only. It does not connect to a database, and will not automatically work in a content management system (Wordpress etc). You will need to incorporate our code into your application.**
README 原文
if you customise anything in this folder directly, and then later recompile the template using webpack, unless you move the dist folder out of the template, your changes will be overridden.
README 原文
https://github.com/ThikerXCX/kavlan-html-bootstrap/blob/main/LICENSE.mdhttps://github.com/ThikerXCX/kavlan-html-bootstrap/blob/main/README.mdensure that you have Node.js installed
README 原文
DeepSeek 根据仓库许可证和 README 整理 ·2026-10-02。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。
项目核对记录与介绍依据
模板资料
- 来源平台
- GitHub
- 资料与维护参考分
- 资料一般 · 65 / 100
- 技术栈
- HTML
- 网站类型
- 后台
这个分数如何计算
本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。
这个项目需要核对什么
- 记录的仓库更新时间
- 2021-09-07
- 截图检查日期
- 2026-10-02
已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。
目录记录的主要技术栈是 HTML。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。
查看具体选型方法 →介绍的制作与核对状态
介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。
已完成服务器许可规则与 AI 来源核对;未经过人工编辑审核。
查看当时使用的来源资料
SHA-256: 40bcd052740b3bff916b1b9c0689eaa120238df32338a307d9b7c30839a965da
2026-10-02T22:23:38.584Z
来源文件 / 仓库# Kavlan - Bootstrap 5 HTML Responsive Admin Template
## Overview
Kavlan is the perfect dark admin panel template to make your administration system a breeze to navigate and maintain. Clean, responsive, and easy-to-use, Kavlan delivers a user experience that will help you create a successful interface. And above all, it's free!
<strong><a href="https://kavlan-html-bootstrap.vercel.app/">View Demo</a> | <a href="https://github.com/PixelRocket-Shop/kavlan-html-bootstrap/archive/main.zip">Download ZIP</a></strong>

## Table of contents
- [Requirements](#requirements)
- [Quick Start](#quick-start)
- [Template Pages](#template-pages)
- [Demo Link](#demo-link)
- [Template Key Features](#template-key-features)
- [Template File Structure](#template-file-structure)
- [Handlebars](#handlebars)
- [Template JSON Data](#template-json-data)
- [Customise Template Styles](#customise-template-styles)
- [Create New Pages](#create-new-pages)
- [Bootstrap Documentation](#bootstrap-documentation)
- [Credits](#credits)
- [Contact Us](#contact-us)
## Requirements
If you do not intend to work with the template source code (and that means you will not be compiling it or running the Webpack dev server), you do not need to install anything. You can simply navigate to the dist folder and start editing the files.
Most developers will be editing the source code and will also be running Webpack to recompile the template files. If that's the case, then ensure that you have Node.js installed. [You can download it from here](https://nodejs.org/en/download/)
## Quick Start
- [Download the latest release](https://github.com/PixelRocket-Shop/kavlan-html-bootstrap/archive/main.zip) OR clone the repo: `git clone https://github.com/PixelRocket-Shop/kavlan-html-bootstrap.git`
- Install Node.js if you don't already have it on your system.
- Open the project root in your command line.
- run `npm install` in your command line.
- run `npm start` to start Webpack devserver.
- if you want to recompile the template files (which output to the dist folder), run `npm run build`
## Template Pages
The template consists of 6 pages:
* Dashboard
* Login Page
* Register Page
* Forgot Password Page
* 404 Page
* Blank Page
To keep code repetition to a minimum, we've used Handlebars.js as the templating engine and partials to quickly add the same code to different pages. We also use a Handlebars plugin for JSON data - this allows us to use loops and output a single HTML code block instead of repeating the same HTML.
## Demo Link
[Demo URL](https://kavlan-html-bootstrap.vercel.app/)
**Please note that this is an HTML template only. It does not connect to a database, and will not automatically work in a content management system (Wordpress etc). You will need to incorporate our code into your application.**
## Template Key Features
* Chart.js integration with 3 different chart types
* Built with Bootstrap 5
* Fully responsive
* Latest orders component
* Collapsible sidebar (auto collapses on browser resize)
* Notifications component
* Avatar component
* Login/register component
## Template File structure
📁 dist - Generated version of the template. Go here if you do not want to work with the template source code. But be warned: if you customise anything in this folder directly, and then later recompile the template using webpack, unless you move the dist folder out of the template, your changes will be overridden.
📁 node_modules - Directory where NPM installs dependancies. You will not see this folder until you complete the template installation. You do not need to create this folder.
📁 src - Template source code. Go here to customise your template.
📁 src/assets - Template assets such as CSS, JS, Images etc.
📁 src/data - Template JSON Data files. We use these JSON files to make your job easier to insert content into the template.
📁 src/html - Template pages. Go here to edit existing pages or add new pages.
📁 src/partials - Handlebars partial templates.
## Handlebars
Handlebars is a template engine that allows us to keep our template source code as organised and as clean as possible. It cuts down on code duplication and through the use of helper functions, allows template developers to very quickly output large amounts of data with minimal code. [You can read more about it here](https://handlebarsjs.com).
### Example Handlebars Partial
Open the following file in our template: src/html/index.html.
Around line 21 you'll see the following code:
```
{{> content/breadcrumbs }}
```
That's a Handlebars partial. That code tells Handlebars to look inside a folder called content (located in the partials folder) and then to find a file called breadcrumbs and insert it into the index.html file when it is compiled.
There are a few important notes about our use of Handlebars partials:
* All of our partials are stored inside src/partials. Do not place partials anywhere else.
* We use .html as our partial file extension. We have also added .svg as a valid partial file extension.
* If you have folders within folders inside your partial folder, only reference the folder the partial resides in. So "partials/header/navbars/navbar.html" would be referenced as "navbars/navbar".
* Do not include the partial file extension. Note in the example above that we output "breadcrumbs" and not "breadcrumbs.html"
## Template JSON Data
The Webpack Handlebars plugin that we use comes with a very handy utility that allows us to pass in JSON files as template data.
Please navigate to: src/data. Here is where our template data JSON files reside. You can edit, remove or add your own to this folder.
## Customise Template Styles
All of the template's source CSS/SASS files are kept inside the template's assets folder. Navigate to src/assets/scss. Open up theme.scss with your editor.
This is the main entry point for all other SASS/CSS files.
## Create New Pages
To create a new page, navigate in your code editor to: src/html. To make it easier to get the correct HTML in place, clone an existing page. Rename the newly-created file to whatever URL you require. And that's it. You are now free to open the new page with your code editor, make your changes, and then save the file. Quit Webpack devserver and restart it for the page to show up.
## Bootstrap Documentation
Bootstrap already has a comprehensive documentation site that will guide you in setting up and using all default Bootstrap features. Bootstrap 5 is fully integrated to our template's source code. Please refer to Bootstrap's doc site first for any default Bootstrap features: [Visit Bootstrap's Doc Site](https://getbootstrap.com/docs/5.0/getting-started/introduction/)
## Credits
[Bootstrap](https://getbootstrap.com/)
[chart.js](https://www.chartjs.org/)
[Unsplash](https://unsplash.com/)
[Pexels](https://www.pexels.com/)
[Pixabay](https://pixabay.com/)
[Simplebar.js](https://github.com/Grsmto/simplebar)
## Contact Us
You can find our website [here](https://www.pixelrocket.store) or you can email us at [email protected]
看看同类模板
对比同技术栈与用途的模板,找到更适合的视觉与内容结构。

gentelella
Free admin dashboard template — vanilla JS, SCSS, Vite 8. No Bootstrap, no jQuery.
HTML · 后台

coreui-free-bootstrap-admin-template
Free Bootstrap Admin & Dashboard Template Built for AI-Assisted Development
HTML · 后台

dashboards
Responsive dashboard templates 📊✨
HTML · 后台

SB Admin 2
SB Admin 2 是 Start Bootstrap 推出的开源后台模板,基于 Bootstrap 构建,整体风格偏向经典管理界面。
HTML · 后台

Adminator-admin-dashboard
Adminator is easy to use and well design admin dashboard template with dark mode for web apps, websites, servi…
HTML · 后台

SB Admin
SB Admin 是 Start Bootstrap 推出的开源后台管理模板,基于 Bootstrap 构建,定位是简洁、实用的管理界面。
HTML · 后台
