hp-navigation-menu
Top-nav pattern with optional hover-revealed submenus. Slotted
<hp-nav-item> children are plain links when they have no
content slot, or dropdown triggers when they do. Arrow keys move between
top-level triggers. Single-open-at-a-time semantics.
Install
bun add @hexpunk/core lit import "@hexpunk/core"; Slots
| Slot | Description |
|---|---|
(default) | hp-nav-item children |
Accessibility
Bar role="menubar"; items role="menuitem". ArrowLeft /
Right move focus between siblings; Home / End jump. Plain-link items follow their
href on click or Enter; submenu items toggle their panel.
No per-component entries in CHANGELOG.md yet.