Skip to main content
content
Component | Component[]
required
The menu items to display. Can be a single component or an array of components, typically Button items with optional Divider separators.

Support

Usage

Basic context menu

Context menu with dividers

On a list row

With nested menu

Notes

  • On iOS, the context menu appears on long press. On macOS, it appears on right-click.
  • The view is displayed with a highlight and the menu appears as a popup alongside a preview of the view.

See Also

  • Menu — dropdown menu triggered by tap
  • Button — tappable action used as menu items