A panel's counts in three standings over one bar.
Every shadcn style · one file
v2.0 · Updated Oct 13pnpm dlx shadcn@latest add @notchset-pro/result-summarypnpm dlx shadcn@latest add @notchset-pro/result-summaryNeeds 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 * as React from "react";
import { ResultSummary, type ResultFilter } from "@/components/ui/notchset/blocks/result-summary";
export default function ResultSummaryDemo() {
const [f, setF] = React.useState<ResultFilter>("all");
return <ResultSummary sentence="You're in good shape, with 5 markers to look at." counts={{ total: 46, optimal: 37, normal: 4, out: 4, check: 1 }} filter={f} onFilter={setF} />;
}components/ui/notchset/blocks/result-summary.tsx
This component is included with Pro.
Try the live preview above. Get Pro to install the source.
sentence–
React.ReactNodethe panel in plain words (left out when the page says it in its own headline)
counts–
{ total: number; optimal: number; normal: number; out: number; check?: number | undefined; unknown?: number | undefined }Required.
filter"all"
FilteronFilter–
(f: Filter) => voidGive 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.
Lab results. Upload a lab report, confirm what was read, and see every result against its range, ready to share with a clinician.
2 free · 7 ProSee the Lab results kit
Pro is in early access.