Sidebar
Grouped navigation with collapsible sections.
Install this component
Install command hidden until you are signed in with a license.
Live demo
Props
| Prop | Type | Description |
|---|---|---|
| groups | { id; title; items; defaultOpen? }[] | Link groups. |
| label | stringdefault "Sidebar" | aria-label of the nav landmark. |
Accessibility
Keyboard
- TabMove through group toggles and links
- Enter / SpaceExpand or collapse a group
ARIA and semantics
- nav landmark with aria-label
- Group toggles use aria-expanded and aria-controls
- aria-current=page on the current item
Source
Copy the files into your project. Or install with the commands above (they unlock with your license).
The full Sidebar source is part of the license.
The live demo is free to try. A license unlocks copy-paste source, installs and exports for every component and pack.
Unlock every icon