What a change costs, line by line, before it's confirmed.
Every shadcn style · one file
v2.0 · Updated Oct 13pnpm dlx shadcn@latest add @notchset-pro/price-summarypnpm dlx shadcn@latest add @notchset-pro/price-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 { PriceSummary } from "@/components/ui/notchset/blocks/price-summary";
import { SegmentedControl } from "@/components/ui/notchset/segmented-control";
const cents = (n: number) => "$" + n.toLocaleString("en-US", { minimumFractionDigits: 2, maximumFractionDigits: 2 });
/* moving 8 seats from Growth ($48) to Scale ($79), 13 days before the cycle renews */
export default function PriceSummaryDemo() {
const [seats, setSeats] = React.useState("8");
const n = Number(seats);
const today = Math.round(((n * (79 - 48) * 13) / 31) * 100) / 100;
return (
<div className="flex w-full max-w-md flex-col gap-3">
<SegmentedControl size="sm" label="Seats" value={seats} onValueChange={setSeats} options={["6", "8", "10"].map((v) => ({ value: v, label: `${v} seats` }))} />
<PriceSummary
lines={[
{ label: `${n} seats × $79`, value: `${cents(n * 79)} a month` },
{ label: "Charged today", value: cents(today), note: "for the 13 days left in this cycle", total: true },
{ label: "From Nov 1", value: cents(n * 79), note: "a month on the card ending 4242", total: true },
]}
note="Scale starts as soon as you confirm, and you can still undo it for a few seconds."
/>
</div>
);
}This example also uses Segmented control. This command installs them with it, so the example pastes as it is:
pnpm dlx shadcn@latest add @notchset-pro/price-summary @notchset/segmented-controlcomponents/ui/notchset/blocks/price-summary.tsx
This component is included with Pro.
Try the live preview above. Get Pro to install the source.
lines[]
PriceLine[]note–
React.ReactNodeblocked–
React.ReactNodeGive 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.
Billing and plans. Choosing a plan, paying for it and seeing exactly what was charged.
1 free · 4 ProSee the Billing and plans kit
Pro is in early access.