Pricing Table
Тарифные планы. Pro · Лендинги и бренд › Тарифы и доверие
Установка
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';
Пропсы
| Prop | Type | Default | |
|---|---|---|---|
eyebrow | ReactNode | Small label above the title. | |
title | ReactNode | Section heading; also the section's accessible name. | |
subtitle | ReactNode | Supporting 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) => void | Called with the new billing when it changes. | |
currency | string | 'USD' | ISO 4217 currency code. |
locale | string | BCP 47 locale for price formatting; defaults to the ThemeProvider's, then the browser's. | |
yearlyBadge | ReactNode | 'Save 20%' | Badge on the yearly option; null hides it. |
labels | Partial<PricingTableLabels> | Overrides for the built-in English text; keys left out keep their defaults. | |
headingLevel | 1 | 2 | 3 | 4 | 5 | 6 | 2 | Level of the section title; plan names use the next level. |
Похожие компоненты
- Comparison Table — Сравнение продуктов
- Testimonials — Отзывы клиентов
- FAQ Section — Частые вопросы
- Award Badge — Награда с лавровым венком, звёздами и подписью
- Hero Section — Первый экран лендинга
- Feature Grid — Сетка преимуществ
- Bento Grid — Бенто-сетка карточек разной ширины и высоты с адаптивом
- Logo Cloud — Логотипы клиентов
- CTA Section — Блок призыва к действию
- Newsletter Signup — Подписка на рассылку
- App Store Buttons — Кнопки магазинов приложений: App Store, Google Play, Galaxy Store, RuStore
- Footer — Подвал сайта
Назад: Logo Cloud · Далее: Comparison Table · Весь раздел «Лендинги и бренд»