A lab order on a glass card: what came back and a five-step tracker.
Every shadcn style · one file
v2.0 · Updated Oct 13pnpm dlx shadcn@latest add @notchset-pro/test-progress-cardpnpm dlx shadcn@latest add @notchset-pro/test-progress-cardNeeds your registry key. Every components.json style gets the same files.
Works with React 18.3 or 19 on Tailwind CSS v4, in any shadcn project. What's tested
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 { TestProgressCard } from "@/components/ui/notchset/blocks/test-progress-card";
export default function TestProgressCardDemo() {
/* results landing: the iron panel reaches Ready with a new id, so its prismatic edge sweeps once */
const [ready, setReady] = React.useState(false);
return (
<div className="grid w-full max-w-[820px] grid-cols-2 gap-6 max-[700px]:grid-cols-1">
<TestProgressCard name="Thyroid panel" lab="Northside Lab" step={5} summary="6 results in: 5 read cleanly, 1 to check." detail="drawn 23 Oct · TSH, free T4, free T3, TPO, Tg, rT3" action={{ label: "Review results", onClick: () => {} }} />
<TestProgressCard
name="Iron panel"
lab="Northside Lab"
step={ready ? 5 : 3}
arrival={ready ? "iron-ready" : "iron-waiting"}
summary={ready ? "3 results in: all read cleanly." : "Your sample reached the lab."}
detail="drawn 25 Oct · ferritin, iron, TIBC"
action={{ label: ready ? "Back to waiting" : "Results land", onClick: () => setReady((r) => !r) }}
/>
</div>
);
}components/ui/notchset/blocks/test-progress-card.tsx
This component is included with Pro.
Try the live preview above. Get Pro to install the source.
name–
stringRequired.
lab–
stringRequired.
step–
1 | 2 | 3 | 4 | 5where it is, 1 (ordered) to 5 (ready)
summary–
stringwhat came back, one sentence
detail–
stringthe draw date and what was measured
state–
stringthe pill's words; left out, "Ready to review" when ready, else the step
action–
{ label: string; onClick: () => void }arrival–
stringwhere results arrive: their id. The card takes the prismatic edge, which sweeps once when the id is new
remember–
stringwhere the device remembers the last id it saw (localStorage), so a new set sweeps on the next visit too
Give your coding assistant the Markdown guide instead of screenshots.
https://notchset.dev/api/mcp (setup)v2.0.0 · 2026-10-13
Released with the Notchset system.
The same file, at work in a finished app. Open it live and find it on its pages.
Pro is in early access.