Where things sit right now, as one stacked bar with every count written.
Every shadcn style · one file
v2.1 · Updated Oct 21pnpm dlx shadcn@latest add https://notchset.dev/r/state-bar.jsonpnpm dlx shadcn@latest add https://notchset.dev/r/state-bar.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 * as React from "react";
import { StateBar } from "@/components/ui/notchset/state-bar";
export default function StateBarDemo() {
const [opened, setOpened] = React.useState<string | null>(null);
const parts = [
{ key: "done", label: "Done", count: 31 },
{ key: "review", label: "In review", count: 4 },
{ key: "doing", label: "In progress", count: 7 },
{ key: "todo", label: "Not started", count: 12 },
];
return (
<div className="flex w-full max-w-[420px] flex-col gap-3">
<StateBar label="Route planner v2: tasks by status today" parts={parts} onSelect={setOpened} />
<p className="m-0 text-[length:var(--ns-text-small)] text-[var(--ns-ink-3)]" aria-live="polite">
{opened ? `Would open the ${parts.find((p) => p.key === opened)!.label.toLowerCase()} tasks` : "Press a state to open its tasks"}
</p>
</div>
);
}components/ui/notchset/state-bar.tsx
label–
stringwhat it counts, read out with every state ("Route planner v2: tasks by status")
parts–
StatePart[]Required.
onSelect–
(key: string) => voidopens the records one state counts
Give your coding assistant the Markdown guide instead of screenshots.
https://notchset.dev/api/mcp (setup)v2.1.0 · 2026-10-21
New: where work sits right now, as one stacked bar in the state colours (rounded ends, each part fading toward its base, the part whose key you point at glowing in its own colour), every count written in its key, each key opening what it counts.
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.