Overlays
Menu
Actions or options behind a trigger, with groups, checkable items, submenus and shortcuts.
npx dtheo@latest add menuR-0412 · High-gain stepBench 3 · overshoot 17.6 %
When to use
- Row actions ("…")
- Toolbar dropdowns
- View options
- Navigation between pages: use links or the sidebar
- Choosing a value for a form: use Select or Combobox
Keyboard
- Arrow keys
- Move the highlight; right opens a submenu
- EnterSpace
- Runs the highlighted item
- Type a letter
- Jumps to the matching item
- Escape
- Closes the menu