Context menu

A contextual menu that appears on right-click or long-press, offering quick actions relevant to the selected element.

@radix-ui/react-context-menu

lucide-react

Installation


1

Install the following dependencies:

npx shadcn@latest add https://sbthemes.com/r/context-menu.json

Examples


Checkable and Radio


API Reference

ContextMenuSubTrigger

PropTypeDefault
insetbooleanfalse