Registry Index

Search the catalog

Type to search items across every indexed registry, or pick a page.

ComponentReactregistry:ui5 dependencies

Context Menu

context-menu

Right-click menu on radix-ui with items, checkbox and radio items, submenus, labels, separators and shortcuts. Item variant default or danger. Icons work with lucide svg and remixicon i. Exports the full ContextMenu part set.

Live, loading

Starting the live preview…

Rendered from its demo Context menu Demo. Runs in a sandboxed frame on a separate origin, in its registry's own theme. Mounted with no props — an item that paints an empty box is given its name as text, and some items need input to show anything.

Notes from the author

Wrap the target in ContextMenuTrigger; the menu opens on right-click. Use variant=danger on destructive items. Mirrors DropdownMenu but for contextual actions.
1 other registry

Similar components

Other registries' take on context-menu.

1 demo

See it in use

Files this registry ships to demonstrate the item. They are indexed and installable, but they don't count as components of their own.

Usage example for the ai2 context-menu component.

@ai2

More from @ai2