Overlays
Context Menu
Displays a menu located at the pointer, triggered by a right-click or long-press.
Components
| Component | Description |
|---|---|
ContextMenu | Root component for the context menu. |
ContextMenuTrigger | The element that triggers the menu. |
ContextMenuContent | The container for the menu items. |
ContextMenuItem | Individual menu action. |
ContextMenuSub | Container for a submenu. |
ContextMenuSubTrigger | Item that opens a submenu. |
ContextMenuSubContent | Container for submenu items. |
ContextMenuCheckboxItem | Item with a checkbox. |
ContextMenuRadioItem | Item with a radio dot. |
ContextMenuLabel | Group label for items. |
ContextMenuSeparator | A horizontal divider. |
ContextMenuShortcut | Keyboard shortcut indicator. |
