Usage against a plan limit, split by who used it, with a projection.
Import it and pass your content. The props that matter most are listed next.
import { UsageMeter } from "@/components/ui/notchset/usage-meter";
const byAgent = [
{ label: "Planner", value: 6.4, tone: "ink" as const },
{ label: "Triage", value: 3.1, tone: "muted" as const },
{ label: "Verifier", value: 2.2, tone: "edge" as const },
];
export function TokenBudget() {
return <UsageMeter label="TOKENS · SEP" segments={byAgent} limit={15} projection={15.5} />;
}segments–
{ label, value, tone }[]Who used what; tone is ink, muted or edge.
limit / unit–
number / stringThe plan and its unit.
dots–
numberDefault 60; each is limit / dots.
projection–
numberThe end-of-cycle estimate: draws the marker.
note / noteSignal–
ReactNode / booleanThe line under the legend.
UsageMeterdata-slot="usage-meter"
The meter.
components/ui/notchset/usage-meter.tsx
pnpm dlx shadcn@latest add https://notchset.dev/r/usage-meter.jsonpnpm dlx shadcn@latest add https://notchset.dev/r/radix-nova/usage-meter.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 @notchset registry added, @notchset/<name> picks for you.
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.
Give your coding assistant the Markdown guide instead of screenshots.
https://notchset.dev/api/mcp (setup)v1.0.0 · 2026-10-02
First release