A disclosure row with a status dot, unroll motion, locked rows and remembered open state.
Import it and pass your content. The props that matter most are listed next.
import { Collapsible, CollapsibleContent, CollapsibleTrigger } from "@/components/ui/notchset/collapsible";
export function ToolCall() {
return (
<Collapsible persistKey="run_8F3A1:run_sql">
<CollapsibleTrigger status="ok">run_sql</CollapsibleTrigger>
<CollapsibleContent>20 rows in 0.42s</CollapsibleContent>
</Collapsible>
);
}persistKey (Collapsible)–
stringSave the open state under this key, restored on reload and remount.
status (CollapsibleTrigger)–
'ok' | 'failed' | 'locked'The dot at the row's start.
locked (CollapsibleTrigger)–
booleanFocusable and aria-disabled; won't open, plays a thud, and runs your onClick so you can say why.
Collapsibledata-slot="collapsible"
Root; open state, optionally persisted.
CollapsibleTriggerdata-slot="collapsible-trigger"
The row: status dot, your content, chevron.
CollapsibleContentdata-slot="collapsible-content"
The panel.
components/ui/notchset/collapsible.tsx
pnpm dlx shadcn@latest add https://notchset.dev/r/collapsible.jsonpnpm dlx shadcn@latest add https://notchset.dev/r/radix-nova/collapsible.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 @notchset registry added, @notchset/<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.
Give your coding assistant the Markdown guide instead of screenshots.
https://notchset.dev/api/mcp (setup)v1.0.0 · 2026-10-04
First release