Learning your baseline, night by night, then your band.
Every shadcn style · one file
v2.0 · Updated Oct 13pnpm dlx shadcn@latest add https://notchset.dev/r/baseline-meter.jsonpnpm dlx shadcn@latest add https://notchset.dev/r/baseline-meter.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 * as React from "react";
import { BaselineMeter } from "@/components/ui/notchset/baseline-meter";
import { Button } from "@/components/ui/notchset/button";
export default function BaselineMeterDemo() {
const [nights, setNights] = React.useState(9);
return (
<div className="flex max-w-[420px] flex-col gap-4">
<BaselineMeter metric="HRV" unit="ms" nights={nights} band={{ low: 47, high: 55 }} value={61} />
<Button size="sm" className="self-start" onClick={() => setNights((n) => (n >= 14 ? 9 : n + 1))}>
{nights >= 14 ? "Start over" : "Add a night"}
</Button>
</div>
);
}This example also uses Button. This command installs them with it, so the example pastes as it is:
pnpm dlx shadcn@latest add https://notchset.dev/r/baseline-meter.json https://notchset.dev/r/button.jsoncomponents/ui/notchset/baseline-meter.tsx
metric–
stringwhat's being learned: "Skin temperature"
nights–
numbernights measured so far
of14
numbernights it needs
unit""
stringband–
{ low: number; high: number }your usual range, once learned
valuenull
number | nulltoday's value, drawn on the band once it's learned
format(n) => formatReading(n)
(n: number) => stringGive your coding assistant the Markdown guide instead of screenshots.
https://notchset.dev/api/mcp (setup)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.