UsageMeter
Plan usage or AI credits against a limit: total, usage by category, daily bars toned against the cap, and a warning near the limit.
An in-product plan comparison for upgrades, with a Monthly / Yearly switch.
An in-product plan comparison for upgrades, not a marketing page.
Switch Monthly and Yearly: prices roll with NumberTransition.
Prices are example data.
For trying things out
Starter: $9 per seat per month, billed monthly
For growing teams
Pro: $29 per seat per month, billed monthly
For finance teams
Business: $79 per seat per month, billed monthly
Prices exclude tax. Change or cancel any time.
The recommended plan's CTA is the one solid primary and only that card is highlighted; mark one plan recommended. When it is the current plan, the CTA reads Current plan, is disabled and outline. The recommended label (recommendedLabel, default Recommended) and Current plan (neutral) are Badge words. layout stacked (default) puts one card per plan in a row; wide puts one plan per row with features in two columns and falls back to stacked below --grid-breakpoint-md. Below 30rem the cards become a TileGroup with one button.
An in-product plan comparison for upgrades, not a marketing page: a Monthly / Yearly switch, one card per plan with price, features and one CTA. Stacked (one card per plan) or wide (one plan per row, features in two columns). Only the recommended plan is highlighted; the recommended label and Current plan are words. Below 30rem the cards become a kit TileGroup with one button. Built on kit SegmentedControl, Badge, Button, NumberTransition and TileGroup.
import { PricingPlans } from "agentic-ds-kit";From contracts/pricingplans.json: must is the a11y requirements, defaults the prop defaults, stops if the doNot rules where the agent asks instead of inventing a cousin.
| Name | Type | Required | Default | Notes |
|---|---|---|---|---|
| plans | array | Yes | — | { id, name, icon?, tagline?, fit?, price, yearlyPrice?, featuresLead?, features, ctaLabel?, recommended?, current? }[]. fit is one line on how the plan fits current usage. icon is a decorative bare 16 Lucide icon (icon.muted) before the name, with no tile. featuresLead is one plain line above the features, e.g. 'Everything in Starter, plus'. Mark one plan recommended; only the first counts, with a warning in development. |
| interval | month | year | Yes | — | — |
| onIntervalChange | function | Yes | — | — |
| onSelect | function | Yes | — | — |
| title | string | No | Choose a plan | — |
| description | string | No | — | — |
| savingsLabel | string | No | — | — |
| footnote | string | No | — | — |
| layout | stacked | wide | No | stacked | stacked: one card per plan, sharing the row. wide: one plan per row, name, price and CTA beside the features in two columns (kit layout-split--secondary and layout-split). Wide falls back to stacked when the plans are narrower than --grid-breakpoint-md; below 30rem both become the TileGroup. |
| recommendedLabel | string | No | Recommended | The info Badge word on the recommended plan, e.g. 'Most popular'. Also used in the narrow TileGroup title. |
| currency | string | No | $ | — |
| unitLabel | string | No | / seat / month | — |
| loading | boolean | No | false | — |
| error | string | No | — | — |
| onRetry | function | No | — | — |
Plan usage or AI credits against a limit: total, usage by category, daily bars toned against the cap, and a warning near the limit.
Selectable cards for a plan or option picker.
A whole pricing section: plan cards, a Monthly / Yearly switch and the questions people ask before they buy.
Choose one of a few visible options in a joined track. role=radiogroup, sm or md, icons optional.