Drag across the year; the headline follows.
Every shadcn style · one file
v2.1 · Updated Oct 21pnpm dlx shadcn@latest add https://notchset.dev/r/scrub-chart.jsonpnpm dlx shadcn@latest add https://notchset.dev/r/scrub-chart.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 { ScrubChart } from "@/components/ui/notchset/blocks/scrub-chart";
const money = (v: number) => `$${Math.round(v).toLocaleString("en-US")}`;
const REVENUE = (
[
["Jan", 61200], ["Feb", 58400], ["Mar", 72900], ["Apr", 70100], ["May", 81300], ["Jun", 79800],
["Jul", 86400], ["Aug", 91200], ["Sep", 88700], ["Oct", 99400], ["Nov", 104800], ["Dec", 112300],
] as const
).map(([label, value]) => ({ label, value }));
export default function ScrubChartDemo() {
return <ScrubChart title="Revenue won" points={REVENUE} target={85000} format={money} className="w-full max-w-[640px]" />;
}components/ui/notchset/blocks/scrub-chart.tsx
title–
stringRequired.
points–
ScrubPoint[]Required.
target–
numberone target for every point, drawn as a dashed line
format–
(v: number) => stringRequired.
Give your coding assistant the Markdown guide instead of screenshots.
https://notchset.dev/api/mcp (setup)v2.1.0 · 2026-10-21
Measures the chart it draws, so an empty chart that later gets points places its pill against its real width.
v2.0.0 · 2026-10-13
Released with the Notchset system.
A marketing piece: made for marketing pages and launch posts, never inside a template.