Components
Context menu.
Beta — usable, but the API may still change.
A short list of actions for one object, opened by right-click or by an overflow (“⋮”) button. Keep it to the commands that act on the thing under the cursor — anything global belongs in the ribbon, not here.
Anatomy
Icon + label rows, a divider, and the destructive action last.
Rename
Duplicate
Share
Delete row
Accessibility
Menus live on the keyboard — pointer is the shortcut, not the contract.
role="menu"On the surface; labelled with aria-label describing what it acts on.role="menuitem"Each row; destructive items are visually and semantically last.Arrow keysUp / Down move between items; Home / End jump to first / last.Esc closesEscape dismisses the menu; focus returns to the trigger.TriggerRight-click or an overflow button with aria-haspopup="menu".