Skip to content

Pricing Table for React

A glass React pricing table with a monthly/yearly toggle, prices that roll like an odometer and a full comparison table. Use Pricing as a pricing section with a monthly and yearly toggle for a SaaS product, with several tiers, billing that defaults to yearly, and a highlighted popular plan.

npx shadcn@latest add https://lokendra-builds.github.io/sheenui/r/pricing.json

Simple pricing, no surprises

Start free, upgrade when your team grows. Cancel any time.

MonthlyYearlySave 20%

Starter

For side projects and trying things out.

$0 per month

Free forever

  • Projects3
  • Storage5 GB
  • Custom themes, not included
  • Team members1
  • Shared libraries, not included
  • SSO and SAML, not included
  • SupportCommunity
Most popular

Pro

For freelancers and small teams shipping fast.

$20 per month

Billed $240 yearly

Everything in Starter, plus:

  • ProjectsUnlimited
  • Storage100 GB
  • Custom themes
  • Team members5
  • Shared libraries
  • SupportEmail

Team

For growing teams that need shared control.

$40 per month

Billed $480 yearly

Everything in Pro, plus:

  • Storage1 TB
  • Team members50
  • SSO and SAML
  • SupportPriority

Enterprise

Security, scale and support for large orgs.

Custom

Volume pricing for your org

Everything in Team, plus:

  • StorageCustom
  • Team membersUnlimited
  • SupportDedicated

Prices in USD, excluding taxes.

Four tiers

Switch between monthly and yearly: every digit rolls to its new value. Hover or focus the popular tier to keep its beam circling, then open the comparison table.

Simple pricing, no surprises

Start free, upgrade when your team grows. Cancel any time.

MonthlyYearlySave 20%

Starter

For side projects and trying things out.

$0 per month

Free forever

  • Projects3
  • Storage5 GB
  • Custom themes, not included
  • Team members1
  • Shared libraries, not included
  • SSO and SAML, not included
  • SupportCommunity
Most popular

Pro

For freelancers and small teams shipping fast.

$20 per month

Billed $240 yearly

Everything in Starter, plus:

  • ProjectsUnlimited
  • Storage100 GB
  • Custom themes
  • Team members5
  • Shared libraries
  • SupportEmail

Team

For growing teams that need shared control.

$40 per month

Billed $480 yearly

Everything in Pro, plus:

  • Storage1 TB
  • Team members50
  • SSO and SAML
  • SupportPriority

Enterprise

Security, scale and support for large orgs.

Custom

Volume pricing for your org

Everything in Team, plus:

  • StorageCustom
  • Team membersUnlimited
  • SupportDedicated

Prices in USD, excluding taxes.

Files to copy

11 folders · 16 files · 4 packages
From theme/src/
  • blocks/{pricing.tsx, icons.tsx}
  • components/badge/
  • components/button/
  • components/glass-card/
  • components/spinner/
  • components/status-icons/
  • blocks/pricing/
  • hooks/{use-controllable.ts, use-latest.ts, use-magnetic.ts, use-media-query.ts, use-preferences.ts}
  • motion/{gate.ts, light-follower.ts, presets.ts, tokens.ts}
  • lib/{cn.ts, form.ts, heading.ts, state-light.tsx, warn-once.ts}
  • styles/
shadcn CLI
npx shadcn@latest add https://lokendra-builds.github.io/sheenui/r/pricing.jsonRegistry item: pricing. The styles need the Tailwind v4 glass UI setup.
Packages
pnpm add @base-ui/react clsx motion tailwind-merge

Your own tiers, currency and language

Three tiers in euros with German labels. Prices, the savings badge and the yearly total are formatted with Intl for the locale, and the comparison table starts open.

MonatlichJährlich17 % sparen

Basis

Für Einzelpersonen.

9 € pro Monat

Monatliche Abrechnung

  • Projekte5
  • Teammitglieder1
  • Eigene Themes, nicht enthalten
  • SSO, nicht enthalten
  • SupportE-Mail
Beliebt

Studio

Für kleine Studios und Agenturen.

29 € pro Monat

Monatliche Abrechnung

Alles aus Basis, plus:

  • ProjekteUnbegrenzt
  • Teammitglieder10
  • Eigene Themes
  • SupportPriorität

Konzern

Für große Organisationen.

Individuell

Volumenpreise für Ihr Unternehmen

Alles aus Studio, plus:

  • TeammitgliederUnbegrenzt
  • SSO
  • SupportPersönlich

Alle Preise zzgl. MwSt.

Funktionsvergleich
FunktionBasis9 € pro MonatStudio29 € pro MonatKonzernIndividuell
Projekte5UnbegrenztUnbegrenzt
Teammitglieder110Unbegrenzt
Eigene ThemesNicht enthaltenEnthaltenEnthalten
SSONicht enthaltenNicht enthaltenEnthalten
SupportE-MailPrioritätPersönlich

Props

PropTypeDefaultDescription
tiersPricingTier[]defaultTiers (The default plan tiers)The plans (PricingTier[], default: three sample tiers). The default is sample content for demos and prototypes: pass your own in production.
featuresPricingFeature[]defaultFeatures (The default feature rows of the comparison table)Rows of the comparison table (PricingFeature[], default: sample features). The default is sample content for demos and prototypes: pass your own in production.
titleReactNodeNoneHeading above the block. Leave out to render without a heading.
descriptionReactNodeNoneShows text under the heading (ReactNode).
headingLevelHeadingLevelOption2Heading level of title, to fit the page outline. Tier names are one level below (2 | 3, default 2). "none" renders both as paragraphs with no heading role, for a block shown as an example.
billingPricingBillingNoneThe billing period shown (controlled): "monthly" or "yearly".
defaultBillingPricingBilling"yearly"The billing period at first when billing is not controlled (PricingBilling, default "yearly").
onBillingChange((billing: PricingBilling) => void)NoneCalled when the billing switch is flipped.
currencystring"USD"Sets the ISO 4217 currency code (string, default "USD").
localestring"en-US"BCP 47 locale for prices and the savings percentage (string, default "en-US").
onSelect((tier: PricingTier, billing: PricingBilling) => void)NoneCalled when a tier's button is pressed (tiers with href navigate as well).
compareOpenbooleanNoneWhether the comparison table is open (controlled). Pair with onCompareOpenChange.
defaultCompareOpenbooleanfalseStart with the comparison table open (boolean, default false).
onCompareOpenChange((open: boolean) => void)NoneCalled when the comparison table opens or closes.
footnoteReactNodeNoneSmall print under the cards, e.g. "Prices in USD. Taxes may apply."
labelsPartial<PricingLabels>defaultPricingLabelsEvery other string, for translation: labels={{ region: "…" }}; omitted keys keep the English of defaultPricingLabels. All 21 keys of PricingLabels are listed in the key table under the props table.
classNamestringNoneAdds extra classes to the outer <section>.
PricingLabels keys and English defaults (21)
Pass any key in labels; the rest keep the defaults of defaultPricingLabels.
KeyEnglish default
regionPricing plans
billingBilling period
monthlyMonthly
yearlyYearly
save(percent) => `Save ${percent}`
perMonth/mo
perMonthLongper month
billedMonthlyBilled monthly
billedYearly(total) => `Billed ${total} yearly`
freeFree forever
customCustom
customNoteVolume pricing for your org
popularMost popular
includedIncluded
notIncludedNot included
compareCompare all features
hideCompareHide comparison
comparisonFeature comparison
featureFeature
otherGroupOther
pricesShown(billing) => `Showing ${billing} prices`

Keyboard

KeysAction
TabThe billing switch, each plan's button, then the “Compare plans” disclosure.
Spaceon the billing switchToggle monthly / yearly.
Enter/Spaceon Compare plansOpen the comparison table, which scrolls horizontally on small screens.

Accessibility

  • A labeled <section>; tier names are headings one level below the title.
  • The price is real text with its period, and the billing switch announces the saving.
  • The comparison table has column and row headers.

All exports on this page

  • Pricing — Props (see PricingProps): tiers, features, title, description, headingLevel (2).
  • defaultPricingLabels — The English strings of the pricing block; pass labels to override any of them.

When to use the pricing section

  • Use Pricing on the plans page of a subscription product to let visitors compare three tiers side by side, switch between monthly and yearly billing and see the popular plan stand out above a full feature table.
  • Use it when buyers compare plans, since the Compare all features disclosure opens a feature table with column and row headers that scrolls horizontally on small screens.
  • Use it for regional storefronts, setting currency and locale so prices such as euros or rupees are formatted correctly, with onSelect(tier, billing) sending the choice to checkout.
  • Skip it when plans are priced per seat or by usage with a calculator; a form with a Slider and a live total communicates that better than fixed tier cards.
  • Pair it with PaymentCheckout for the step after a plan is chosen, Badge for plan labels, and AuthSplit if the visitor must create an account first.

Frequently asked questions

20 blocks pages in all: browse them on All blocks.

By Lokendra Singh Rathore (GitHub, opens in a new tab). Published , updated .