ValyroUI English version

Comparison Table

Сравнение продуктов. Pro · Лендинги и бренд › Тарифы и доверие

Установка

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

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

Пропсы

PropTypeDefault
eyebrowReactNodeSmall label above the title.
titleReactNodeSection heading; also the accessible name of the section and the table.
subtitleReactNodeSupporting paragraph under the title.
products *ComparisonProduct[]Columns, left to right: name, description and an optional action in the header cell.
groups *ComparisonGroup[]Feature rows, each group under an optional title row spanning the table.
labelstring'Product comparison'Accessible name of the table when there is no title.
labelsPartial<ComparisonTableLabels>Overrides for the built-in English text; keys left out keep their defaults.
stickyHeaderOffsetnumber | string0Distance from the top of the viewport at which the product header sticks, e.g. the height of a fixed navbar. The header sticks whenever the table fits without horizontal scrolling and no ancestor clips overflow (overflow: hidden | auto).
headingLevel1 | 2 | 3 | 4 | 5 | 62Level of the section title (h1–h6).

Похожие компоненты

  • Pricing 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 — Подвал сайта

Назад: Pricing Table · Далее: Testimonials · Весь раздел «Лендинги и бренд»