https://github.com/compostrap/sidebar-menu
:page_with_curl: Simple and fast multi-level sidebar menu on Bootstrap (@twbs)
https://github.com/compostrap/sidebar-menu
bootstrap sidebar-menu
Last synced: 2 months ago
JSON representation
:page_with_curl: Simple and fast multi-level sidebar menu on Bootstrap (@twbs)
- Host: GitHub
- URL: https://github.com/compostrap/sidebar-menu
- Owner: compostrap
- License: mit
- Created: 2019-05-07T05:27:07.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2025-01-22T06:10:07.000Z (6 months ago)
- Last Synced: 2025-05-06T17:55:21.041Z (2 months ago)
- Topics: bootstrap, sidebar-menu
- Language: SCSS
- Homepage:
- Size: 867 KB
- Stars: 25
- Watchers: 4
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license.md
Awesome Lists containing this project
README
## Sidebar menu
Simple and fast multi-level sidebar menu.[](https://raw.githubusercontent.com/compostrap/sidebar-menu/master/license.md)
[](https://badge.fury.io/js/sidebar-menu-compostrap)
[](https://travis-ci.com/compostrap/sidebar-menu)
[](https://www.codefactor.io/repository/github/compostrap/sidebar-menu)## Installation
```
npm install --save sidebar-menu-compostrap
```Version 1x built on Bootstrap 4
Version 2x built on Bootstrap 5## Built on
- [Bootstrap](https://getbootstrap.com)
- [Font Awesome 6](https://fontawesome.com)
- [Perfect scrollbar](https://github.com/mdbootstrap/perfect-scrollbar)
- [Nanobar](https://github.com/jacoborus/nanobar)## Demo
- [Dark](https://compostrap.github.io/sidebar.dark)
- [Dark gradient](https://compostrap.github.io/sidebar.dark.gradient)
- [White](https://compostrap.github.io/sidebar.white)
- [White gradient](https://compostrap.github.io/sidebar.white.gradient)## Introduction
Simple and fast multi-level sidebar menu on Bootstrap. So you should be aware of how Bootstrap itself is used. The advantage is also knowledge of sass, npm, grunt.**The sidebar menu is built on the sidebar skeleton. I recommend you [look at it](https://github.com/compostrap/sidebar-skeleton).**
## Important classes in the menu
See the menu in the template.| Description | Class |
|---------------------------------|----------------|
| Marks the active item | `link-current` |
| Icon animation | `bell` |
| Marks the drop-down menu icon | `link-arrow` |
| Marks the hidden drop-down menu | `list-hidden` |## Sidebar colors
Colors are the same as bootstrap. Add more colors in [colors.scss](https://github.com/compostrap/sidebar-menu/blob/master/scss/themes/_colors.scss)| Color | Sidebar | List | List icons | Scrollbar |
| -------------------------------------------------------------| ------------------- | ---------------- | ------------------ | --------------------- |
|  | `sidebar-bg-white` | `list-bg-white` | - | `scrollbar-bg-white` |
|  | `sidebar-bg-light` | `list-bg-light` | - | `scrollbar-bg-light` |
|  | `sidebar-bg-dark` | `list-bg-dark` | - | `scrollbar-bg-dark` |
|  | `sidebar-bg-blue` | `list-bg-blue` | `list-icon-blue` | `scrollbar-bg-blue` |
|  | `sidebar-bg-purple` | `list-bg-purple` | `list-icon-purple` | `scrollbar-bg-purple` |
|  | `sidebar-bg-pink` | `list-bg-pink` | `list-icon-pink` | `scrollbar-bg-pink` |
|  | `sidebar-bg-red` | `list-bg-red` | `list-icon-red` | `scrollbar-bg-red` |
|  | `sidebar-bg-orange` | `list-bg-orange` | `list-icon-orange` | `scrollbar-bg-orange` |
|  | `sidebar-bg-green` | `list-bg-green` | `list-icon-green` | `scrollbar-bg-green` |