ContextMenu

Shows actions relevant to a target when it is right-clicked. Use it for contextual editing commands that also remain available elsewhere.

React

Ready

Figma

Import

import { ContextMenu, ContextMenuTrigger, ContextMenuContent, ContextMenuItem, ContextMenuCheckboxItem, ContextMenuRadioItem, ContextMenuLabel, ContextMenuSeparator, ContextMenuShortcut, ContextMenuGroup, ContextMenuPortal, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuRadioGroup } from "@kela-systems/ui-components";

This page has no live example yet. Storybook shows ContextMenu in every state and theme.

Props

ContextMenu

No props of its own. It also takes the props of Base UI's context-menu.

ContextMenuTrigger

No props of its own. It also takes the props of Base UI's context-menu.

ContextMenuContent

No props of its own. It also takes the props of Base UI's context-menu.

ContextMenuItem

NameDefaultDescription
variant
"default" | "destructive"
"default"
inset
boolean

It also takes the props of Base UI's context-menu.

ContextMenuCheckboxItem

NameDefaultDescription
inset
boolean

It also takes the props of Base UI's context-menu.

ContextMenuRadioItem

NameDefaultDescription
inset
boolean

It also takes the props of Base UI's context-menu.

ContextMenuLabel

NameDefaultDescription
inset
boolean

It also takes the attributes of the HTML element it renders.

ContextMenuSeparator

No props of its own. It also takes the props of Base UI's context-menu.

ContextMenuShortcut

No props of its own. It also takes the attributes of the HTML element it renders.

ContextMenuGroup

No props of its own. It also takes the props of Base UI's context-menu.

ContextMenuPortal

No props of its own. It also takes the props of Base UI's context-menu.

ContextMenuSub

No props of its own. It also takes the props of Base UI's context-menu.

ContextMenuSubContent

No props of its own. It also takes the props of Base UI's context-menu.

ContextMenuSubTrigger

NameDefaultDescription
inset
boolean

It also takes the props of Base UI's context-menu.

ContextMenuRadioGroup

No props of its own. It also takes the props of Base UI's context-menu.

Read this page as Markdown

Search ARK

Find a page, a primitive or a component.