01
Overview
Vertical navigation panel for secondary or hierarchical app destinations.
Usage
SideNavigation is a compound component. Import the parent and compose
SideNavigation.Group and SideNavigation.Item via the namespace API.
The leaves remain importable individually for à-la-carte builds — see
@lostgradient/cinder/side-navigation-group and @lostgradient/cinder/side-navigation-item.
02
When to use
Use when
- Building a tall, dense application sidebar with many sections and nested groups.
- Pairing with sidebar so the column collapses responsively on narrow viewports.
Avoid when
- Anchoring primary navigation across the top of the page. Use Navigation bar instead
- Rendering a single flat horizontal nav row. Use Navigation bar instead
- Showing an in-page heading outline. Use Table of contents instead
- Rendering expandable hierarchical non-navigation data. Use Tree instead
03
Examples
Basic side navigation
A grouped sidebar nav. Uses the SideNavigation namespace API: SideNavigation.Group wraps a collapsible section and SideNavigation.Item renders each link.
04
Props
| Name | Type | Default | Required | Bindable | Description |
|---|---|---|---|---|---|
ariaLabel | text | req | Accessible name for the <nav> landmark. Required, non-empty, distinct from other navs on the page. | ||
children | snippet | req | Must be <li> elements containing NavigationItem and/or SideNavigationGroup. |