Sidebar
Last updated: October 14, 2026
Collapsible app sidebar shell with provider, menu, and trigger.
Installation
npx smoothui-cli add sidebarFeatures
SidebarProviderfor collapsed state- Animated width (expanded ↔ icon rail)
- Header / content / footer regions + menu buttons
- SmoothUI-owned lean shell (Delphi Sidebar / Astryx Side Nav refs)
States
Features
Collapsible rail with nav items and footer.
Accessibility
ARIA Attributes
| Attribute | Element | Purpose |
|---|---|---|
aria-label="Sidebar" | aside | Names the landmark |
aria-expanded | Trigger | Reflects collapsed state |
Reduced Motion
Width animation is instant when reduced motion is preferred.
Props
© 2026 SmoothUI. Built by Eduardo Calvo.