Draft. Ported from the shadcn-vue Sidebar and restyled with Beehexa tokens. Not yet approved; the API may still change.
The side navigation of an app: groups of links that collapse to icons or open as a drawer on small screens.
When to use
- The main navigation of an app with more than a handful of sections.
When not to use
- A website with few sections. Use a Navigation menu.
- A panel of details. Use a Sheet.
Tokens
| Part | Tokens |
|---|---|
| Surface | color.surface.page with a 1 px color.border line (Layout › App frame) |
| Items | size.control.default, space.item.x, radius.item; hover color.background.neutral.subtle.hover |
| Current page | color.background.selected and the yellow bar |
| Phones | a drawer (Sheet) on color.surface.overlay |
| Layer | z-index.navigation |