Bootstrap 3 Flat UI Kit with Dark Mode - Bootflat
Bootflat is a flat UI kit built on Bootstrap 3.2.0, offering lightweight components and dark mode for web developers and designers.
By bootflat bootflat/bootflat.github.io 4,203 stars
Introduction
Bootflat is an open‑source flat UI kit built on top of Bootstrap 3. It provides a collection of lightweight components, widgets and a dark‑mode theme that help web developers and designers create responsive, mobile‑first web pages quickly.
What this project offers
- A set of ready‑made HTML pages that demonstrate the UI kit (13 HTML files).
- CSS files (
bootflat.css,bootflat.min.css) and SCSS sources for customization. - JavaScript plugins for widgets such as iCheck, selecter and stepper.
- Dark‑mode styling and several color‑picker pages.
- All assets are static; no server‑side processing is required.
Main features
- Dark mode support.
- Color picker widget.
- Timeline, calendar, pricing, toggle, selecter and stepper widgets.
- Fully responsive design that works on all screen sizes.
- Mobile‑first layout built on Bootstrap 3.2.0.
Technology stack
- Framework: Bootstrap (HTML, CSS, JavaScript)
- Styling: CSS3, SCSS (Sass)
- JavaScript: jQuery, custom plugins (
icheck.min.js,jquery.fs.selecter.min.js,jquery.fs.stepper.min.js) - Build tools (optional for developers): Grunt (used in the source repository, but the distributed zip already contains compiled files)
Requirements
- A modern web browser (the kit runs completely in the client).
Installation
- Download the project
curl -L -o bootflat.zip https://github.com/bootflat/bootflat.github.io/archive/refs/heads/master.zip
- Extract the archive
unzip bootflat.zip -d bootflat
- Open the demo locally
Navigate to the extracted folder and open
index.htmlin a browser:
cd bootflat/bootflat.github.io-master
open index.html # macOS
# or
start index.html # Windows
# or simply double‑click the file in a file manager
- Use the kit in your own project
- Copy the
bootflat/css/bootflat.min.css(or the unminifiedbootflat.css) into your project’s CSS folder. - Copy the
bootflat/js/folder (contains the required JavaScript plugins) into your project’s JS folder. - Copy the
bootflat/img/folder if you need the images used by the UI components.
- Copy the
- Deploy to a web host
Upload the HTML files together with the
bootflat/folder (or the individual CSS/JS/img subfolders you copied) to your web server using FTP, SFTP, or any static‑site hosting service. No additional build step is required.
Configuration
The kit does not require runtime configuration. If you want to change colors or other design tokens, edit the SCSS source file bootflat/scss/bootflat.scss and recompile with Sass (this step is optional and only needed for developers who wish to rebuild the CSS).
Customizing the project
- Change colors or variables: Edit
bootflat/scss/bootflat.scssand run a Sass compiler (sass bootflat/scss/bootflat.scss bootflat/css/bootflat.css). - Add or remove widgets: The JavaScript plugins are modular; you can delete any of the files in
bootflat/js/that you do not need. - Dark mode: The dark‑mode styles are already included in the CSS. To switch themes, add or remove the appropriate CSS class as shown in the demo pages.
Project structure
Gruntfile.js
LICENSE
README.markdown
_config.yml
angularicons/
bootflat/
css/
bootflat.css
bootflat.min.css
img/
(image assets)
js/
icheck.min.js
jquery.fs.selecter.min.js
jquery.fs.stepper.min.js
scss/
bootflat.scss
bootflat/
css/
bootstrap.min.css
site.css
site.min.css
js/
application.js
bootstrap.min.js
html5shiv.js
jquery-1.10.1.min.js
respond.min.js
site.min.js
html files (13)
package.json
bower.json
composer.json
sitemap.xml
Tips
- Open the provided HTML files (
index.html,documentation.html, etc.) to see examples of each widget. - When integrating the kit, keep the original folder structure (
css,js,img) to avoid broken links. - For best performance in production, use the minified CSS (
bootflat.min.css) and JS files. - The kit works with any server that can serve static files; no backend language is needed.
License and attribution
Bootflat is licensed under the MIT License. See the LICENSE file in the repository for the full text. When using Bootflat, keep the LICENSE file in your distribution and give credit to the original project:
- Repository: https://github.com/bootflat/bootflat.github.io
This satisfies the attribution requirements of the MIT license.
Use this prompt with an AI coding assistant (Claude Code, Cursor, ChatGPT and similar) to add Bootflat to a website or app you already have.
- Download the ZIP and put the project next to your own code.
- Fill in the bracketed parts, such as
[describe your stack]. - Paste the prompt into your assistant and review each change it proposes.
# Integrate Bootflat **Role** You are a senior frontend developer assisting me in adding the Bootflat UI kit to my existing web application. **Project description** Bootflat is an open‑source flat UI kit built on Bootstrap 3.2.0. It provides lightweight components, dark mode, and a collection of widgets such as color picker, timeline, calendar, pricing, toggle, selecter, and stepper. The kit is mobile‑first, responsive, and includes HTML, CSS/SCSS, JavaScript, images, and font assets. **Source project** - Repository: https://github.com/bootflat/bootflat.github.io - License: MIT - Base framework: Bootstrap (version 3.2.0 as stated in the README) - Build tooling: Grunt ~0.4.4 (no build step required for static use) - Dependencies (dev only, listed in `package.json`): - grunt, grunt-contrib-clean, grunt-contrib-csslint, grunt-contrib-cssmin, grunt-contrib-uglify, grunt-contrib-sass, grunt-csscomb, grunt-html-validation, grunt-sed, load-grunt-tasks, time-grunt - Runtime assets located in the repository: - CSS: `bootflat/css/bootflat.css`, `bootflat/css/bootflat.min.css` - SCSS: `bootflat/scss/bootflat.scss` and related files - JS: `bootflat/js/icheck.min.js`, `bootflat/js/jquery.fs.selecter.min.js`, `bootflat/js/jquery.fs.stepper.min.js` - Images: `bootflat/img/` and top‑level `img/` folder - Fonts: `fonts/glyphicons-halflings-regular.*` and `angularicons/` files **Target project context** - Stack: `[describe your stack, e.g. Laravel 11 + Blade]` - UI insertion point: `[where the UI should go, e.g. main layout template]` - Existing CSS framework: `[e.g. Tailwind, Bootstrap 5, none]` **Integration objectives** - Add Bootflat’s styling and component scripts so I can use its buttons, forms, widgets, and dark‑mode theme. - Preserve the existing look of my app while allowing optional Bootflat sections. - Keep the current routing, authentication, and data layers untouched. **Required components** - Core CSS: `bootflat/css/bootflat.min.css` - Core JS plugins: `bootflat/js/icheck.min.js`, `bootflat/js/jquery.fs.selecter.min.js`, `bootflat/js/jquery.fs.stepper.min.js` - Example HTML snippets (for reference) from `index.html`, `getting-started.html`, `documentation.html`, and the color‑picker pages (`color-picker.html`, etc.) - Dark‑mode toggle (implemented via the provided CSS). **Layout and styling requirements** - Scope Bootflat styles to a container class (e.g., `.bootflat-wrapper`) to avoid clashes with existing Bootstrap or other framework styles. - If the target already uses Bootstrap 5, load Bootstrap 3.2.0 CSS **only** if required by Bootflat components; otherwise rely on the existing Bootstrap version and override where necessary. - Use the provided SCSS (`bootflat/scss/bootflat.scss`) to customize variables if I need to align colors or spacing with my design tokens. **Asset management** - Copy the following directories into the project’s asset folder (e.g., `public/assets/bootflat/`): - `bootflat/css/` → `public/assets/bootflat/css/` - `bootflat/js/` → `public/assets/bootflat/js/` - `bootflat/img/` → `public/assets/bootflat/img/` - `fonts/` → `public/assets/bootflat/fonts/` - `angularicons/` → `public/assets/bootflat/angularicons/` - Reference the copied files in my HTML/layout templates. - Do **not** duplicate libraries that already exist in the target (e.g., jQuery, Bootstrap JS). Load only the Bootflat‑specific plugins if those libraries are present. **Routing and navigation** - Keep the existing application routes unchanged. - Add new pages (e.g., a “UI Kit Demo” page) under a new route such as `/bootflat-demo` that renders the copied `index.html` content inside my layout. - Ensure any internal links in the Bootflat HTML (e.g., `getting-started.html`) are rewritten to the new route paths or removed if not needed. **Responsive requirements** - Verify that the Bootflat components respect the existing viewport meta tag and remain mobile‑first. - Test on common breakpoints (≤576 px, 768 px, 992 px, 1200 px). **Accessibility requirements** - Preserve the ARIA attributes present in the original HTML. - Ensure that any added widgets (selecter, stepper) are keyboard navigable. **Compatibility requirements** - Works with Bootstrap 3.2.0 (as Bootflat is built on it). - No build step is required; assets can be used directly. - If the target uses a newer Bootstrap version, test component compatibility and apply CSS overrides as needed. **Preserve the existing application** - First, inspect the current codebase before modifying any file. - Do not replace authentication, routing, state management, or data‑handling code. - Make only small, reviewable changes (e.g., adding asset files, updating layout includes). - Ask for confirmation before deleting or overwriting any existing files. **Testing and verification checklist** - [ ] Confirm that `bootflat.min.css` loads without errors. - [ ] Verify that the three Bootflat JS plugins load and do not conflict with existing scripts. - [ ] Check that a Bootflat button (`<button class="btn btn-primary">`) displays with the expected flat style. - [ ] Open the dark‑mode example and ensure the dark theme applies correctly. - [ ] Navigate to the new demo route and confirm all images, fonts, and icons appear. - [ ] Test responsiveness at the defined breakpoints. - [ ] Run a keyboard navigation test on the selecter and stepper widgets. - [ ] Ensure existing application pages retain their original styling and functionality. - [ ] Run the application’s existing test suite to confirm no regressions.
