Sidebar
Navigation sidebars as a Level 2 container, with flat nested controls.
Basic Layout
Variants
API Reference
Sidebar is a composed layout built on Radix primitives and a shared SidebarProvider.
Key Components
ComponentNotes
SidebarProviderControls open/collapsed state (use defaultOpen for initial state).SidebarUse variant ("sidebar" | "floating" | "inset") and collapsible ("offcanvas" | "icon" | "none").SidebarInsetMain content area that reacts to sidebar state via peer styles.SidebarTriggerToggles the sidebar (desktop collapse / mobile sheet).