Won, committed and best case against target, in one line.
Every shadcn style · one file
v2.1 · Updated Oct 21pnpm dlx shadcn@latest add @notchset-pro/forecast-barpnpm dlx shadcn@latest add @notchset-pro/forecast-barNeeds 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 { ForecastBar, ForecastKey } from "@/components/ui/notchset/blocks/forecast-bar";
/* figures in $k: won, committed and best case against the team's target, with the call it submitted */
export default function ForecastBarDemo() {
return (
<div className="flex w-full max-w-xl flex-col gap-4">
<ForecastBar won={420} commit={310} best={180} target={1200} call={1180} size="lg" label="Team forecast against target" />
<ForecastKey
items={[
{ kind: "won", label: "Won" },
{ kind: "commit", label: "Commit" },
{ kind: "best", label: "Best case" },
{ kind: "target", label: "Target" },
{ kind: "call", label: "Call" },
]}
/>
<ForecastBar won={180} commit={60} target={300} label="Ana against her target" />
</div>
);
}components/ui/notchset/blocks/forecast-bar.tsx
This component is included with Pro.
Try the live preview above. Get Pro to install the source.
won–
numberRequired.
commit–
numberRequired.
best0
numbertarget–
numberRequired.
call–
numbersize"sm"
"sm" | "lg"label–
stringGive your coding assistant the Markdown guide instead of screenshots.
https://notchset.dev/api/mcp (setup)v2.1.0 · 2026-10-21
Labels both ends against its target; won and commit in the state colours. Its won and commit fills fade from their top, the family's finish.
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.
Forecasts and reports. The figures a team runs on: forecast, attainment, what moved and why, with the number always written.
3 free · 6 ProSee the Forecasts and reports kit
Pro is in early access.