ACTIONS & SURFACES
Sidebar
Composable side panel with header, body, and footer slots. Used here on the docs site for the navigation rail you see to the left.
Import
Live preview
Page content area.
Basic usage
API
Sidebar props
| Prop | Type | Default | Description |
|---|---|---|---|
| children | ReactNode | — | Compose with SidebarHeader, SidebarBody, SidebarFooter. |
| aria-label | string | — | Required when the sidebar is the only nav landmark on the page. |
| className | string | — | Tailwind classes are merged on top of the defaults. |