NgxMinisidebar - Open Source Library for Angular Web Apps to provide a nice collapsable sidebar that is small and customizable

This project is an easy to use Library based from Jeff Delaney awesome video

❓ Why use ngx-miniSidebar

What does it look like by default?

Sidebar Closed πŸ“• | Sidebar Open πŸ“– :β€”β€”β€”β€”β€”β€”β€”β€”-:|:β€”β€”β€”β€”β€”β€”β€”β€”-: |

πŸ“¦ Installation

run: npm install --save ngx-minisidebar

Include the module:

import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { AppComponent } from './app.component';
import { RouterModule, Routes } from '@angular/router'; // <-- required RouterModule
import { NgxMinisidebarModule } from 'ngx-minisidebar'; // <-- Add Ngx mini Sidebar

@NgModule({
  imports: [
    BrowserModule,
    NgxMinisidebarModule, // <-- Add Ngx mini Sidebar
    RouterModule.forRoot([]) // <-- required RouterModule
  ],
  declarations: [ AppComponent ],
  bootstrap:    [ AppComponent ]
})
export class AppModule { }

Add the style to your style.scss @import '~ngx-minisidebar/styles/ngx-minisidebar.style.scss';

Add <ngx-minisidebar></ngx-minisidebar> in your Html

All Set! Also check πŸ”Ž stackblitz for a working example

πŸ”¨ Development

In order to make development easier, I have included Storybook into the package start by:

πŸ’£ Further help

Post in the Issues, and I am happy to help and if you have fixes I would be more than happy to pull them in!