sidebar-skeleton-compostrap
v2.0.14
Published
Simple and fast sidebar skeleton built on Bootstrap 5.
Downloads
661
Readme
Sidebar Skeleton
Simple and fast sidebar skeleton built on Bootstrap 5.
Installation
npm install sidebar-skeleton-compostrapBuilt on
Demo
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 |
