Documentation Index
Fetch the complete documentation index at: https://mintlify.com/mui/base-ui/llms.txt
Use this file to discover all available pages before exploring further.
Displays a menu triggered by right-clicking or long-pressing.
Import
import * as ContextMenu from '@base-ui/react/context-menu';
Groups all parts of the context menu. Doesn’t render its own HTML element.
Props
The area that triggers the context menu when right-clicked.
Portals the context menu popup to a different part of the DOM.
Positions the context menu popup.
The popup that contains the context menu items.
An item in the context menu.
Props
Groups related context menu items.
Labels a group of context menu items.
A menu nested within the context menu.
The item that opens a submenu.
Groups menu items that function as radio buttons.
A context menu item that acts as a radio button.
A context menu item that acts as a checkbox.
An optional arrow element.
An optional overlay displayed beneath the context menu popup.