Components
Context Menu
Right-click menu that displays contextual actions for specific elements
Preview
Right click here
Installation
Usage
Examples
With Submenus
Create nested menu structures.
Right click here
With Separators and Shortcuts
Add separators and keyboard shortcuts.
Right click here
With Checkboxes and Radio Groups
Include checkbox and radio group menu items.
Right click here
API Reference
ContextMenuContent
Prop
Type
Default
ContextMenuItem
Prop
Type
Default
ContextMenuLabel
Prop
Type
Default
ContextMenuGroupLabel
Prop
Type
Default
ContextMenuSubTrigger
Prop
Type
Default
ContextMenuSubContent
Prop
Type
Default
Additional Props
ContextMenu components inherit all props from Base UI Context Menu, including open, defaultOpen, onOpenChange, positioning options, and accessibility props.