Daily targets as node tracks or concentric rings of dots, where only the nodes that change animate one at a time, with a week strip, per-day bars and log chips that move today only.
pnpm dlx shadcn@latest add @beautiful-ui-pro/target-tallyNeeds your registry key. Your components.json style picks the Base UI or Radix build: radix-*, new-york and default get Radix, base-* gets Base UI.
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 { TargetTally } from "@/components/ui/notchset/target-tally";
const targets = [
{ label: "EVAL CASES", target: 1200, step: 100, unit: "CASES" },
{ label: "TRACES REVIEWED", target: 180, step: 15, unit: "TRACES" },
];
const week = [
{ weekday: "MON", date: "28", values: [1200, 180] },
{ weekday: "TUE", date: "29", values: [1080, 150] },
{ weekday: "WED", date: "30", values: [940, 130] },
{ weekday: "THU", date: "01", values: [0, 0] },
];
export function DailyTargets() {
const [logged, setLogged] = React.useState([0, 0]);
return (
<TargetTally
title="DAILY TARGETS · PLANNER TEAM"
targets={targets}
days={week}
today={2}
logged={logged}
onLog={(i, n) => setLogged((l) => l.map((v, k) => (k === i ? v + n : v)))}
onReset={() => setLogged([0, 0])}
/>
);
}targets–
{ label, target, step, unit }[]Up to three in rings.
days / today–
{ weekday, date, values }[] / numberThe week; later days are disabled.
logged / onLog / onReset–
number[] / (i, n) => void / () => voidToday's logged amounts, controlled.
components/ui/notchset/target-tally.tsx
This component is included with Pro.
Try the live preview above. Get Pro to install the source.