What a measure means, what moves it for you, and the coach's cited tip.
Every shadcn style · one file
v2.0 · Updated Oct 13pnpm dlx shadcn@latest add @notchset-pro/metric-explainerpnpm dlx shadcn@latest add @notchset-pro/metric-explainerNeeds 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 { MetricExplainer } from "@/components/ui/notchset/blocks/metric-explainer";
export default function MetricExplainerDemo() {
return (
<div className="max-w-[560px]">
<MetricExplainer
means="HRV is the small variation between heartbeats. Higher than your own usual means your body has recovered; compare it only with yourself."
moves={[{ label: "Alcohol", effect: "−9 ms" }, { label: "Late meal", effect: "−4 ms" }, { label: "Walk days", effect: "+4 ms" }, { label: "Sleep over 7 h", effect: "+3 ms" }]}
movesNote="Your nights, 90-day difference vs nights without"
tip={{ text: "Your 4 alcohol nights this month cost 9 ms each. Skip it on the nights before hard sessions.", source: "Log tags · 4 nights · Ring HRV", action: { label: "Ask about this", onClick: () => {} } }}
/>
</div>
);
}components/ui/notchset/blocks/metric-explainer.tsx
This component is included with Pro.
Try the live preview above. Get Pro to install the source.
means–
React.ReactNodemoves–
MetricMove[]movesNote–
stringtip–
MetricTipGive 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.
Wearables and trends. Connect a device, trust what it reports, and read any metric from Day to YTD with what drove it.
4 free · 4 ProSee the Wearables and trends kit
Pro is in early access.