ValyroUI Русская версия

Pricing Table

Pricing plans. Pro · Landing pages and brand › Pricing and trust

Installation

npx valyro-cli@latest login
npx valyro-cli@latest add pricing-table
npm install valyro-ui-pro

import 'valyro-ui-pro/styles.css';
import { PricingTable } from 'valyro-ui-pro';

Props

PropTypeDefault
eyebrowReactNodeSmall label above the title.
titleReactNodeSection heading; also the section's accessible name.
subtitleReactNodeSupporting paragraph under the title.
plans *PricingPlan[]Plan cards in order; from 5 plans they form one row: five fit side by side on a wide container, more scroll sideways.
billing'monthly' | 'yearly'Controlled billing; use with onBillingChange.
defaultBilling'monthly' | 'yearly''monthly'Initial billing when uncontrolled.
onBillingChange(billing: PricingBillingPeriod) => voidCalled with the new billing when it changes.
currencystring'USD'ISO 4217 currency code.
localestringBCP 47 locale for price formatting; defaults to the ThemeProvider's, then the browser's.
yearlyBadgeReactNode'Save 20%'Badge on the yearly option; null hides it.
labelsPartial<PricingTableLabels>Overrides for the built-in English text; keys left out keep their defaults.
headingLevel1 | 2 | 3 | 4 | 5 | 62Level of the section title; plan names use the next level.

Related components

Previous: Logo Cloud · Next: Comparison Table · All Landing pages and brand