A card whose whole header opens it: a kicker, a title, a progress track of nodes and a count that flips as steps complete, and a chevron key that sinks onto its plate. Inside, checkable steps stagger in; checking one blooms its node and extends the track.
pnpm dlx shadcn@latest add @beautiful-ui-pro/expandable-cardNeeds your registry key. Your components.json style picks the Base UI or Radix build: radix-*, new-york and default get Radix, base-* gets Base UI.
The 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 * as React from "react";
import { ExpandableCard, type ExpandableStep } from "@/components/ui/notchset/expandable-card";
export function RolloutChecklist() {
const [steps, setSteps] = React.useState<ExpandableStep[]>([
{ label: "Run planner-core evals", meta: "88.9%", done: true },
{ label: "Canary at 5%", meta: "24H" },
{ label: "Promote to 100%" },
]);
return (
<ExpandableCard
kicker="Migration · Aug 14"
title="Atlas 3 Flash rollout"
steps={steps}
onStepChange={(i, done) => setSteps((s) => s.map((step, k) => (k === i ? { ...step, done } : step)))}
/>
);
}title / kicker–
ReactNodeThe header.
steps–
{ label, meta?, done? }[]The checklist.
open / defaultOpen / onOpenChange–
boolean / (open) => voidThe open state.
onStepChange–
(index, done) => voidA step was checked or unchecked.
labels–
{ progress, complete, justNow }The words; {done} and {n} are filled in.
components/ui/notchset/expandable-card.tsx
This component is included with Pro.
Try the live preview above. Get Pro to install the source.