ContextMenu
Radix ContextMenu — right-click triggered menu with keyboard navigation.
Installation
Examples
File context menu
Right-click the card to open the menu.
API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
| trigger* | ReactNode | required | Element that opens the menu on right-click. |
| children* | ReactNode | required | ContextMenuItem elements. |
| onOpenChange | (open: boolean) => void | — | Called when open state changes. |