Installation
npx solidui-cli@latest add context-menu
Usage
import {
ContextMenu,
ContextMenuContent,
ContextMenuItem,
ContextMenuLabel,
ContextMenuSeparator,
ContextMenuTrigger
} from "~/components/ui/context-menu"
<ContextMenu>
<ContextMenuTrigger>Open</ContextMenuTrigger>
<ContextMenuContent>
<ContextMenuLabel>My Account</ContextMenuLabel>
<ContextMenuSeparator />
<ContextMenuItem>Profile</ContextMenuItem>
<ContextMenuItem>Billing</ContextMenuItem>
<ContextMenuItem>Team</ContextMenuItem>
<ContextMenuItem>Subscription</ContextMenuItem>
</ContextMenuContent>
</ContextMenu>