Context Menu
Navigation
Right-click context menu that opens at cursor position with keyboard navigation, dividers, disabled items, and AnimatePresence animation.
Loading preview...
Props
| Prop | Type | Default | Description |
|---|---|---|---|
items | ContextMenuItem[] | [] | Array of menu items with label, optional icon, onClick, divider, and disabled flags. |
children | React.ReactNode | — | The trigger element that responds to right-click. |
className | string | '' | Additional CSS classes. |