A usage cost calculator that shows when the next plan up becomes the cheaper one.
Import it and pass your content. The props that matter most are listed next.
import { UsageEstimator } from "@/components/ui/notchset/blocks/usage-estimator";
export function Estimate() {
return (
<UsageEstimator
plans={[
{ id: "team", name: "Team", base: 199, runs: 50_000, seats: 5, perThousand: 4, perSeat: 24 },
{ id: "scale", name: "Scale", base: 899, runs: 400_000, seats: 20, perThousand: 2, perSeat: 20 },
]}
onSwitch={(plan) => console.log("switch to", plan.id)}
/>
);
}plans–
[UsagePlan, UsagePlan]Two plans, smaller first: { id, name, base, runs, seats, perThousand, perSeat }.
runsRange / seatsRange–
{ min, max }The sliders' ranges (runs on a log scale).
defaultRuns / defaultSeats–
numberWhere the sliders start.
onSwitch / currency–
(plan) => void / (n) => stringThe advice's switch action and money formatting.
UsageEstimatordata-slot="usage-estimator"
Inputs, breakdown, chart and advice.
components/ui/notchset/blocks/usage-estimator.tsx
This component is included with Pro.
Try the live preview above. Get Pro to install the source.
pnpm dlx shadcn@latest add @beautiful-ui-pro/usage-estimatorNeeds your registry key. Your components.json style picks the Base UI or Radix build: radix-*, new-york and default get Radix, base-* gets Base UI.
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
Pro is in early access.