Skip to main content
  1. Docs
  2. Components
  3. Overlays

Menu

Actions in a list, from a button: arrows move, typing jumps, Escape closes. It never traps Tab.

Import
@qeetrix/react
Status
StableSince 0.0.2
Renders
<div role="menu">Server-rendered
Tested
WCAG 2.2 AAaxe on every pull request

01

0.4.0

  • Long items wrap instead of ending in an ellipsis; the icon, mark, shortcut and submenu chevron stay on the first line.

02

0.3.0

  • icon takes an element as well as a component (icon={<PlusIcon />}), so a Server Component can pass one: its type is IconSource.

03

0.2.0

  • MenuRadioItem closes its menu on a choice; closeOnClick={false} keeps it open.

04

0.1.0

  • MenuItem description: a second, subtle line, also on checkbox and radio items.

05

0.0.2

  • Menu: items with sharp icons, shortcuts and a danger tone; checkbox and radio items in a 16px mark column; group labels, separators and submenus; the 2px Ember start bar on the highlighted item.

Every change to @qeetrix/react

Next — OverlaysContext menu