A plan comparison table that shows exactly what changes if you upgrade.
Import it and pass your content. The props that matter most are listed next.
import { PlanCompare } from "@/components/ui/notchset/blocks/plan-compare";
export function Upgrade() {
return (
<PlanCompare
current="builder"
plans={[
{ id: "builder", name: "Builder", price: { monthly: 29, yearly: 23 } },
{ id: "team", name: "Team", price: { monthly: 99, yearly: 79 }, emphasis: true },
]}
rows={[
{ label: "Seats", values: { builder: "1", team: "Up to 50" } },
{ label: "SSO", values: { builder: false, team: true } },
]}
onSelect={(plan, billing) => fetch("/api/upgrade", { method: "POST", body: JSON.stringify({ plan, billing }) })}
/>
);
}plans–
{ id, name, price: { monthly, yearly }, billing?, action?, emphasis? }[]Columns, in order; emphasis makes the action ink.
rows–
{ label, values: Record<planId, string | boolean> }[]true is ✓ (Included), false is — (Not included).
current–
stringThe plan the account is on.
onSelect / selectedNote / currency–
(planId, billing) => Promise / (plan, price) => string / (n) => stringPick a plan (reject to put the button back), the footer after picking, and money formatting.
PlanComparedata-slot="plan-compare"
The controls, the table and the footer.
components/ui/notchset/blocks/plan-compare.tsx
pnpm dlx shadcn@latest add https://beautiful-ui.dev/r/plan-compare.jsonpnpm dlx shadcn@latest add https://beautiful-ui.dev/r/radix-nova/plan-compare.jsonFree, no account or key. Use the command for your project's primitives: a radix-*, new-york or default style in components.json is Radix, a base-* style is Base UI. With the @beautiful-ui registry added, @beautiful-ui/<name> picks for you.
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.
Give your coding assistant the Markdown guide instead of screenshots.
https://beautiful-ui.dev/api/mcp (setup)v1.0.0 · 2026-10-04
First release