shadcn's Dropdown Menu in Notchset: it unfolds under a leader line, one field block glides to the highlighted row as a focus dot scales in, checks trace and radios bloom, submenus open sideways, and a hold-to-delete row fills with signal.
pnpm dlx shadcn@latest add https://beautiful-ui.dev/r/dropdown-menu.jsonpnpm dlx shadcn@latest add https://beautiful-ui.dev/r/radix-nova/dropdown-menu.jsonFree, no account or key. Use the command for your project's primitives: a radix-*, new-york or default style in components.json is Radix, a base-* style is Base UI. With the @beautiful-ui registry added, @beautiful-ui/<name> picks for you.
pnpm add @base-ui/react@^1The CLI adds the styles to the CSS file named in components.json (tailwind.css). Check that it points at your global stylesheet, that the project uses Tailwind CSS v4, and that the file is imported in your root layout. Installed by hand: paste styles.css into that file.
Import it and pass your content. The props that matter most are listed next.
"use client";
import { DropdownMenu, DropdownMenuContent, DropdownMenuHeader, DropdownMenuHoldItem, DropdownMenuItem, DropdownMenuShortcut, DropdownMenuTrigger } from "@/components/ui/notchset/dropdown-menu";
export function RunActions({ runId, onOpenTrace, onDelete }: { runId: string; onOpenTrace: () => void; onDelete: () => void }) {
return (
<DropdownMenu>
<DropdownMenuTrigger label="Run actions" kbd="⌘." />
<DropdownMenuContent>
<DropdownMenuHeader title={runId} meta="Planner v14 · 2.1s" />
<DropdownMenuItem onClick={onOpenTrace}>
Open trace<DropdownMenuShortcut>T</DropdownMenuShortcut>
</DropdownMenuItem>
<DropdownMenuHoldItem onConfirm={onDelete}>Delete run</DropdownMenuHoldItem>
</DropdownMenuContent>
</DropdownMenu>
);
}DropdownMenuTrigger label / kbd–
stringOptional: the Notchset outline key with a kbd box and chevron. Without label it is shadcn's bare trigger.
DropdownMenuContent side / align / sideOffset–
as shadcnDefault bottom, start, 9px.
DropdownMenuHeader title / meta–
ReactNodeThe identity header at the top of the menu.
DropdownMenuItem variant–
"default" | "destructive"As shadcn.
DropdownMenuHoldItem holdMs / onConfirm / labels–
number / () => void / { holding, done }Hold to delete, 1200ms by default; release cancels.
DropdownMenuShortcut / DropdownMenuMeta–
spanA kbd box, or a muted reading, at the row's end.
components/ui/notchset/dropdown-menu.tsx