Context Menu

Right-click menus for power operations.

shadcn/ui · new-york-v4 · synced Aug 28, 2026shadcn/uinew-york-v4 · synced Aug 28, 2026

Installation

import {
  ContextMenu,
  ContextMenuTrigger,
  ContextMenuContent,
  ContextMenuItem,
  ContextMenuSeparator,
} from "@aspyn-io/kit";

Record operations (right-click)

Right-click a record for bulk operations.

Right-click here

Checkbox items

Toggle independent options directly from the menu.

Right-click here

Radio items

Choose one value from a set with ContextMenuRadioGroup.

Right-click here

With icons

Lead items with an icon; SVGs are sized and tinted for you.

Right-click here

Notes

  • Same anatomy as DropdownMenu, opened by right-click / long-press instead of a button.
  • Always provide a visible alternative (kebab menu): context menus aren't discoverable.