Components/Context Menu
Context Menu
A composable context menu primitive for modern product interfaces.
Base UI
Interactive example
Right click inside this area
Installation
Run the CLI from your project root. Dependencies and component source are added automatically.
$npx quackelements add context-menuUsage
The generated file lives in your repository, so the component API and styles remain fully editable.
example.tsx
import { ContextMenu, ContextMenuTrigger, ContextMenuContent } from "@/components/quack/context-menu"
<ContextMenu><ContextMenuTrigger>Right click here</ContextMenuTrigger><ContextMenuContent>Actions</ContextMenuContent></ContextMenu>