Skip to content

compostrap/sidebar-skeleton

Repository files navigation

Sidebar Skeleton

Simple and fast sidebar skeleton built on Bootstrap 5.

License: MIT npm version Build status CodeFactor

Installation

npm install sidebar-skeleton-compostrap

Built 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
#ffffff sidebar-bg-white
#f8f9fa sidebar-bg-light
#212529 sidebar-bg-dark
#007bff sidebar-bg-blue
#6f42c1 sidebar-bg-purple
#e83e8c sidebar-bg-pink
#dc3545 sidebar-bg-red
#fd7e14 sidebar-bg-orange
#28a745 sidebar-bg-green
#20c997 sidebar-bg-teal
#17a2b8 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

About

📃 Simple and fast sidebar skeleton built on Bootstrap 5 (@twbs)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •