The billing period, then the plans side by side.
Every shadcn style · one file
v2.0 · Updated Oct 13pnpm dlx shadcn@latest add @notchset-pro/plan-pickerpnpm dlx shadcn@latest add @notchset-pro/plan-pickerNeeds 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 { PlanPicker } from "@/components/ui/notchset/blocks/plan-picker";
const PRICE = { Starter: 24, Growth: 48, Scale: 79 } as const;
type Plan = keyof typeof PRICE;
const ABOUT: Record<Plan, [string, string]> = {
Starter: ["Core CRM for a small team", "Up to 5 seats"],
Growth: ["Forecasting, sequences and reports", "Up to 10 seats"],
Scale: ["SSO, audit log and custom roles", "No seat limit"],
};
export default function PlanPickerDemo() {
const [plan, setPlan] = React.useState<Plan>("Scale");
const [cycle, setCycle] = React.useState("monthly");
const yearly = cycle === "yearly";
return (
<PlanPicker
cycle={cycle}
cycles={[
{ value: "monthly", label: "Monthly" },
{ value: "yearly", label: "Yearly · 2 months free" },
]}
onCycle={setCycle}
value={plan}
onValueChange={(p) => setPlan(p as Plan)}
plans={(Object.keys(PRICE) as Plan[]).map((n) => ({
key: n,
name: n,
price: `$${yearly ? Math.round((PRICE[n] * 10) / 12) : PRICE[n]}`,
unit: "/seat a month",
desc: ABOUT[n][0],
limit: ABOUT[n][1],
current: n === "Growth",
}))}
/>
);
}components/ui/notchset/blocks/plan-picker.tsx
This component is included with Pro.
Try the live preview above. Get Pro to install the source.
plans–
PlanOption[]Required.
value–
stringRequired.
onValueChange–
(key: string) => voidRequired.
cycle–
stringRequired.
cycles–
{ value: string; label: string }[]Required.
onCycle–
(cycle: string) => voidRequired.
Give 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.