Simple and fast sidebar skeleton.
npm install --save sidebar-skeleton-compostrap
Version 1x built on Bootstrap 4
Version 2x built on Bootstrap 5
https://compostrap.github.io/skeleton
Simple and fast sidebar skeleton is build on Bootstrap. So you should be aware of how Bootstrap itself is used. The advantage is also knowledge of sass, npm, grunt.
https://raw.githubusercontent.com/compostrap/sidebar-skeleton/master/demo.html
When we use navbar, we extend the class called wrapper
Navbar | Class |
---|---|
unused | wrapper |
Used | wrapper-navbar-used |
Used (fixed) | wrapper-navbar-fixed |
Optional classes as needed.
Description | Class |
---|---|
Right top rounded in sidebar | sidebar-rounded-top-right |
Fixed menu in sidebar | sidebar-menu-fixed |
Colors are the same as bootstrap. Add more colors in colors.scss
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 |
If you would like to have your own toggle button visible at all resolutions, we need to change the class in sidebar.js
Description | Class |
---|---|
Visible in small devices | sidebar-toggle |
Visible all resolutions | sidebar-toggle-visible |