shadcn's Progress in Notchset: a ruler whose fill settles on each update, stage nodes that pop once passed, ticks that ink, stage labels with a scanner, a rolling percentage, and a stretching indeterminate bar.
pnpm dlx shadcn@latest add https://beautiful-ui.dev/r/progress.jsonpnpm dlx shadcn@latest add https://beautiful-ui.dev/r/radix-nova/progress.jsonFree, no account or key. Use the command for your project's primitives: a radix-*, new-york or default style in components.json is Radix, a base-* style is Base UI. With the @beautiful-ui registry added, @beautiful-ui/<name> picks for you.
pnpm add @base-ui/react@^1The 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 { Progress } from "@/components/ui/notchset/progress";
const stages = [
{ label: "FETCH", at: 20 },
{ label: "PARSE", at: 45 },
{ label: "EMBED", at: 85 },
{ label: "INDEX", at: 100 },
];
export function IndexingProgress({ value }: { value: number }) {
// The stage still running; past the last one, the job is done.
const i = stages.findIndex((s) => value < s.at);
const status = i === -1 ? "DONE" : `STAGE ${i + 1} OF ${stages.length} · ${stages[i]!.label}`;
return <Progress value={value} stages={stages} label="INDEXING DOCS" status={status} />;
}value–
number | null0–100, or null for indeterminate.
stages–
{ label, at }[]Where each stage ends (%).
ticks–
numberDefault 50.
label / status–
ReactNodeThe header and its line (announced).
statusSignal / paused–
booleanSignal colour; stops the scanner.
components/ui/notchset/progress.tsx