Each day's work by state, stacked.
Every shadcn style · one file
v2.1 · Updated Oct 21pnpm dlx shadcn@latest add @notchset-pro/cumulative-flowpnpm dlx shadcn@latest add @notchset-pro/cumulative-flowNeeds 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.
import { CumulativeFlow } from "@/components/ui/notchset/blocks/cumulative-flow";
/* 60 days of a fictional project: [done, in review, in progress, to do] each day */
const DAYS = Array.from({ length: 60 }, (_, i) => {
const done = Math.round(i * 0.7), review = 2 + (i % 5 === 0 ? 1 : 0), doing = 4 + Math.round(i / 15), todo = Math.max(2, 50 + Math.round(i / 3) - done - review - doing);
return { label: `Day ${i + 1}`, counts: [done, review, doing, todo] };
});
export default function CumulativeFlowDemo() {
return (
<div className="w-full max-w-[640px]">
<CumulativeFlow
label="Route planner v2"
bands={[
{ key: "done", label: "Done" },
{ key: "review", label: "In review" },
{ key: "doing", label: "In progress" },
{ key: "todo", label: "To do" },
]}
days={DAYS}
ticks={[0, 20, 40].map((day, k) => ({ day, label: ["Aug", "Sep", "Oct"][k]! }))}
/>
</div>
);
}components/ui/notchset/blocks/cumulative-flow.tsx
This component is included with Pro.
Try the live preview above. Get Pro to install the source.
label–
stringRequired.
bands–
FlowBand[]Required.
days–
{ label: string; counts: number[] }[]Required.
ticks–
{ day: number; label: string }[]Required.
height170
numberGive your coding assistant the Markdown guide instead of screenshots.
https://notchset.dev/api/mcp (setup)v2.1.0 · 2026-10-21
New: work by status over time, day by day, in the state colours, each band named inside itself where its whole name fits.
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.