Draft. Ported from the shadcn-vue Navigation menu and restyled with Beehexa tokens. Not yet approved; the API may still change.
Links across the top of a site, with panels that open under them.
When to use
- Top navigation of a website or docs site, with a few sections that each hold several pages.
When not to use
- Navigation inside an app. Use the Sidebar.
- Actions. Use a Dropdown menu or a Menubar.
Tokens
| Part | Tokens |
|---|---|
| Links | radius.item, space.100 padding, font.label.default, color.text |
| Hover | color.background.neutral.subtle.hover in the bar, color.surface.overlay.hover in a panel |
| Current page | color.background.selected and the yellow bar (border.width.selected, color.border.selected) |
| Panel | color.surface.overlay, radius.overlay, elevation.shadow.overlay |
| Focus | the Button focus ring (border.width.focused, color.border.focus, state.focus.offset) |