hp-menubar
Horizontal / vertical bar of dropdown triggers with roving tabindex. Slotted children are
<hp-dropdown-menu> instances (or any element with
role="menuitem" + aria-haspopup="menu"). Arrow keys move focus
between bar entries; Home / End jump.
Install
bun add @hexpunk/core lit import "@hexpunk/core"; Properties
| Property | Attribute | Type | Default | Description |
|---|---|---|---|---|
orientation | orientation | "horizontal" | "vertical" | "horizontal" | Layout direction — controls arrow-key axis. |
Slots
| Slot | Description |
|---|---|
(default) | hp-dropdown-menu children (or any [role="menuitem"] triggers) |
Accessibility
Bar exposes role="menubar" + aria-orientation. Only the first
trigger is in the tab order initially; arrow keys move focus between siblings; Home /
End jump to first / last. The individual dropdowns handle their own menuitem nav.
No per-component entries in CHANGELOG.md yet.