Founding price: $35, then $79.99 after 23:59 UTC on 4 November, then $79.99
Get ProA menu that opens when the mouse rests on its trigger and stays open while the pointer travels to it, with click, keyboard and touch opening it as well.
This item has no props to tune. Use the lens above to change theme, density, direction and more.
Use it for a persistent header or toolbar menu (Account, Products) where mouse users expect it to open on hover and everyone else needs it to still work.
Do not use it for destructive menus or menus that hold the only way to do something on touch devices. Do not nest hover menus.
It builds on dropdown-menu and data-menu, which the CLI installs for you.
| Prop | Type | Default | Description |
|---|---|---|---|
entries | MenuEntry[] | - | Menu content (see Data Menu). |
openDelay | number | 80 | Milliseconds before hover opens it. |
closeDelay | number | 150 | Milliseconds before leaving closes it. |
align | "start" | "center" | "end" | start | Alignment to the trigger. |
| Key | Action |
|---|---|
| Enter / Space / ArrowDown | opens the menu |
| Arrow keys, typeahead and Escape | as in any menu |
The component ships a Testing Library test (hover-menu.test.tsx) that covers opening after the delay, the close delay bridging to the menu, touch being ignored and keyboard opening.