ortaui
  1. Components
  2. Overlays

Context Menu

Right click (or long press) the region. Same menu as the dropdown.

Installation#

npx shadcn add @ortaui/context-menu

Examples#

Default#

Right click here

API reference#

PropTypeDefaultDescription
open / defaultOpenboolean-Controlled or uncontrolled state.
onOpenChange(open: boolean) => void-Called when the open state changes.
ContextMenuTriggerdiv props-The region that listens for right click and long press.
classNamestring-Merged with the component classes via cn().