https://github.com/compostrap/sidebar-skeleton
:page_with_curl: Simple and fast sidebar skeleton on Bootstrap (@twbs)
https://github.com/compostrap/sidebar-skeleton
bootstrap sidebar sidebar-menu
Last synced: 2 months ago
JSON representation
:page_with_curl: Simple and fast sidebar skeleton on Bootstrap (@twbs)
- Host: GitHub
- URL: https://github.com/compostrap/sidebar-skeleton
- Owner: compostrap
- License: mit
- Created: 2019-09-06T04:34:35.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-08-15T10:51:52.000Z (over 2 years ago)
- Last Synced: 2025-06-23T20:51:10.448Z (9 months ago)
- Topics: bootstrap, sidebar, sidebar-menu
- Language: SCSS
- Homepage:
- Size: 267 KB
- Stars: 5
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license.md
Awesome Lists containing this project
README
## Sidebar Skeleton
Simple and fast sidebar skeleton built on Bootstrap 5.
[](https://github.com/compostrap/sidebar-skeleton/blob/master/license)
[](https://badge.fury.io/js/sidebar-skeleton-compostrap)
[](https://github.com/compostrap/sidebar-skeleton/actions/workflows/build.yml)
[](https://www.codefactor.io/repository/github/compostrap/sidebar-skeleton)
## Installation
```bash
npm install sidebar-skeleton-compostrap
```
## Built on
- [Bootstrap 5](https://getbootstrap.com)
## Demo
- [Live demo](https://compostrap.github.io/skeleton)
## Introduction
Simple and fast sidebar skeleton is built on Bootstrap.
You should be familiar with Bootstrap usage and have basic knowledge of Sass, npm.
## Customize sidebar when navbar is used
When using a navbar, extend the class called wrapper:
| Navbar | Class |
|--------------|----------------------|
| unused | wrapper |
| Used | wrapper-navbar-used |
| Used (fixed) | wrapper-navbar-fixed |
## Other classes
| Description | Class |
|------------------------------|---------------------------|
| Right top rounded in sidebar | sidebar-rounded-top-right |
| Fixed menu in sidebar | sidebar-menu-fixed |
## Overview of sidebar background colors
Colors match Bootstrap.
| Color | Class |
|----------------------------------------------------------|-------------------|
|  | sidebar-bg-white |
|  | sidebar-bg-light |
|  | sidebar-bg-dark |
|  | sidebar-bg-blue |
|  | sidebar-bg-purple |
|  | sidebar-bg-pink |
|  | sidebar-bg-red |
|  | sidebar-bg-orange |
|  | sidebar-bg-green |
|  | sidebar-bg-teal |
|  | sidebar-bg-cyan |
## Sidebar menu toggle
If you want your own toggle button visible at all resolutions, update the class in sidebar.js:
| Description | Class |
|--------------------------|------------------------|
| Visible in small devices | sidebar-toggle |
| Visible all resolution | sidebar-toggle-visible |