Context Menu
A menu that opens at the cursor position on right-click. Same keyboard navigation as Dropdown Menu. Use it to expose contextual actions on any target area.
Basic
Right-click the target area to open the menu at the cursor position. Escape closes it, clicking outside closes it, arrow keys navigate items.
Right-click me
Context menu opens at cursor
With labels and disabled items
Group items with ContextMenuLabel. Disabled items are skipped during keyboard navigation.
Right-click for file options
Multiple triggers
Each ContextMenu wraps its own trigger and renders its own menu independently.
Image
Right-click
Video
Right-click
Document
Right-click