Sidebar
A side navigation panel with groups and menu items.
components/ui/sidebar.tsx
Preview
Code
Installation
npx betterone-ds add sidebarProps
| Prop | Type | Default |
|---|---|---|
| Sidebar collapsible | "offcanvas" | "icon" | "none" | "offcanvas" |
| Sidebar side | "left" | "right" |
Accessibility
- Wrap the sidebar in a nav landmark. The collapsed icon mode needs tooltips.

