A menu of actions opened from a trigger button.
Installation
pnpm add krz-uiUsage
import { DropdownMenu, Button } from "krz-ui";<DropdownMenu
trigger={<Button variant="outline">Options</Button>}
items={[
{ type: "label", label: "My account" },
{ label: "Profile", shortcut: "⌘P" },
{ label: "Settings" },
{ type: "separator" },
{ label: "Log out", danger: true },
]}
/>