ContextMenu
Overlays

ContextMenu.

Right-click and Shift+F10 actions with keyboard navigation.

Real interactive component
Live demo
Right-click here or press Shift + F10

The preview uses the actual shared component, including your current theme, rounding, border and motion preferences.

Props & API reference

Parameters available in the shared component, including value types, requirements and accepted options.

4 props
ParameterTypeRequiredDefaultPossible valuesDescription
childrenReactNodeYes——Right-click and keyboard-activated surface.
itemsContextAction[]Yes——Actions with IDs, labels, icons, disabled/danger state and handlers.
labelstringNoContext actions—Accessible menu name.
classNamestringNo——Additional CSS class on the outer component element.