bloxa

Context Menu

FREE

Right-click / long-press menu with submenus, checkbox and radio items and shortcuts.

Installation

Terminal
npx @bloxa/cli add context-menu
# or: npx shadcn@latest add @bloxa/context-menu

Packages installed automatically: radix-ui

Examples

File menu

Right-click here (long-press on touch)

API reference

Every component also accepts the props of the element it renders.

ContextMenu

Same parts as DropdownMenu: Item, CheckboxItem, RadioItem, Label, Separator, Shortcut, Sub.

PropTypeDefaultDescription
ContextMenuTriggerelement—The right-clickable area.