Starter
For trying things out
0
- 1 project
- Community support
Plans with a monthly/yearly switch. Prices roll to their new value; one highlight stretches between plans. Pricing.
Open playgroundFor trying things out
0
For solo makers
19
For small studios
49
PricingTable is a React component in the Pricing category of smoui. It is typed, ships no stylesheet, follows your theme through CSS variables, and honors prefers-reduced-motion. Import it with import { PricingTable } from "@ashutoshswamy/smoui" and set plans, featured, currency.
npm i @ashutoshswamy/smouiimport { PricingTable } from "@ashutoshswamy/smoui";
<PricingTable
featured={1}
plans={[
{ name: "Starter", monthly: 0, features: ["1 project"] },
{ name: "Pro", monthly: 19, yearly: 15, features: ["Unlimited projects"], onSelect: checkout },
]}
/>Plans. `yearly` is the per-month price when billed yearly.
{ name: string; description?: string; monthly: number; yearly?: number; features: string[]; cta?: string; onSelect?: () => void }[]Index of the plan that holds the highlight until you hover another.
numberdefault 0Symbol before the price.
stringdefault "$"