Context Menu

A menu opened by right-click or long press on a target.

components/ui/context-menu.tsx

Installation

npx betterone-ds add context-menu

Props

ComponentPropTypeDefault
ContextMenuItemvariant

Accessibility

  • Also reachable with the keyboard menu key or Shift+F10.
  • Every action must also exist elsewhere in the UI. Do not hide the only way to do something.