Documentation Index
Fetch the complete documentation index at: https://docs.getsabo.com/llms.txt
Use this file to discover all available pages before exploring further.

- Location:
sabo/src/components/ui/sidebar.tsx
When to use
- Persistent app navigation with groups, nested items, and badges.
- Collapsible behaviors for desktop (offcanvas or icon) and mobile sheet.
Usage
sabo/src/components/ui/sidebar.tsx
Key props
Initial expanded state on desktop.
left | rightsidebar | floating | insetoffcanvas | icon | noneStyling tip
- Use
SidebarMenuButtonvariants and sizes for density control; badges/actions are optional. - Place page content inside
SidebarInsetto respect inset/floating variants.
Accessibility
- Mobile uses a Sheet with focus trap; desktop supports keyboard toggle via Cmd/Ctrl+B.