Context Menu
A menu triggered by right-clicking an element. Built on Radix UI Context Menu.
Default
Right click here
Usage
Use context menus for power-user shortcuts. Always provide alternative ways to access the same actions, since right-click menus aren't discoverable.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| onOpenChange | (open: boolean) => void | — | Callback when open state changes |
| alignOffset | number | 0 | Alignment offset in px (on Content) |