Sidebar
1.0.0Composable application sidebar with header, groups, menus, rail, and an inset content pane.
Component data
- ID
- sidebar
- Category
- atoms
- Version
- 1.0.0
- Added
- 2026-09-17
- Type
- component
- Keyboard nav
- Yes
- Reduced motion
- Yes
sidebarnavigationshellatom
Dependencies
- @base-ui/react
- @radix-ui/react-slot
- lucide-react
- clsx
- tailwind-merge
- react
Registry
- button
- input
- separator
- skeleton
- tooltip
Examples
Default
<div className="bg-background text-foreground">
<SidebarDemo />
</div>IconCollapsed
<div className="bg-background text-foreground">
<SidebarDemo collapsible="icon" defaultOpen={false} />
</div>
