Overlays · §10.3

Context menu

Row actions on right-click or long-press.

Theme
Contrast
Language
Motion
Text size
Right-click or long-press this row
<ContextMenu><ContextMenuTrigger>…</ContextMenuTrigger><ContextMenuContent>…</ContextMenuContent></ContextMenu>

Accessibility

  • Also opens with the context-menu key and Shift+F10.

Usage

Do

  • Shortcuts on board rows.

Don't

  • Never the only way to an action.

Platforms

Web
apps/web/components/ui/context-menu.tsx
iOS
SwiftUI .contextMenu
Android
Long-press DropdownMenu