A lab value's standing bar over its draws as large dated dots on a calm line.
Every shadcn style · one file
v2.0 · Updated Oct 13pnpm dlx shadcn@latest add https://notchset.dev/r/draw-history.jsonpnpm dlx shadcn@latest add https://notchset.dev/r/draw-history.jsonFree, no account or key. One command for every shadcn style. With the @notchset registry added, @notchset/<name> works too.
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 { DrawHistory } from "@/components/ui/notchset/draw-history";
export default function DrawHistoryDemo() {
return (
<div className="w-full max-w-[960px]">
<DrawHistory
label="Vitamin D"
unit="ng/mL"
segments={[
{ from: 10, to: 30, label: "Low", tone: "out" },
{ from: 30, to: 40, label: "In range", tone: "in" },
{ from: 40, to: 60, label: "Optimal", tone: "optimal" },
{ from: 60, to: 100, label: "In range", tone: "in" },
{ from: 100, to: 110, label: "High", tone: "out" },
]}
draws={[
{ t: 0, date: "29 Sep 2025", value: 26 },
{ t: 177, date: "25 Mar", value: 23 },
{ t: 382, date: "16 Oct", value: 41 },
]}
band={{ low: 40, high: 60, label: "Optimal" }}
floor={{ value: 30, label: "Low" }}
next={{ t: 502, date: "13 Feb" }}
/>
</div>
);
}components/ui/notchset/draw-history.tsx
label–
stringRequired.
unit–
stringRequired.
segments–
DrawSegment[]Required.
draws–
Draw[]oldest first; `t` is any time unit (days), for spacing
band–
{ low: number; high: number; label: string }floor–
{ value: number; label: string }next–
{ t: number; date: string }formatString
(v: number) => stringGive 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.