Getting Started
Overview
Installation
Theme
Forms
Basic Inputs
Select
Custom Inputs
Components
Navigation
Components
68
Micro Charts
Libraries
Kanban Board
Image Designer
Video Player
Visual Builder
Content Editor
Data View
Purchase

Sidebar

Sidebar is a complete vertical app or workspace sidebar for persistent navigation and supporting sidebar content. Use it inside a shell sidebar region, usually within Sidenav or LayoutSidebar, when the app needs a real sidebar with header, body, footer, navigation items, groups, headings, dividers, badges, icons, and active state.

Use it for:
  • App and admin shell sidebars with brand, workspace switcher, main navigation, and footer content.
  • Navigation with ngs-sidebar-nav, ngs-sidebar-nav-item, active keys, icons, badges, headings, dividers, and expandable groups.
  • Data-driven sidebar navigation with item templates when the navigation tree comes from configuration.

Sidebar has its own navigation system. If ngs-sidebar is not used and a persistent navigation block is still needed, use Navigation instead. Do not use Sidebar as a generic left column, card, drawer content, inspector, page section, tabs, menu, or compact icon rail. Use Sidenav for responsive open, collapse, or overlay behavior, RailNav for compact icon navigation, and SidePanel for secondary tabbed tools beside the main content.

The NgStarter Angular Sidebar component lets you provide a complete vertical app or workspace sidebar with its own navigation system. Use ngs-sidebar as the content inside a shell sidebar region, usually inside Sidenav or LayoutSidebar, when an admin app or workspace needs persistent sidebar navigation and supporting sidebar content. It includes examples for Basic sidebar, Dynamic compact sidebar, Only compact sidebar, and Sidebar with custom icons.

Basic sidebar

Use Sidebar when an app shell needs persistent navigation with header, body, footer, groups, and active items.

NGSTARTER
Home
Account
Nested Menu
Nested Item 1
Nested Item 2
Overview
Item 1
Item 2
Copyright © 2026

Dynamic compact sidebar

Bind ngs-sidenav collapsed state when users can switch between full and hover-expandable compact navigation. Use *ngsSidenavExpanded and *ngsSidenavCollapsed for blocks that change between modes.

Sidebar content

Only compact sidebar

Use onlyCompact when the sidebar should stay as an icon rail and must not expand on hover.

NG
Dashboard
Analytics
Inbox
Settings

Use icon and badge slots to make sidebar navigation easier to scan while keeping Sidebar as the navigation owner.

NgStarter
Home
Account
Nested Menu
Nested Item 1
Nested Item 2
Copyright © 2024