ValyroUI English version

Hero Section

Первый экран лендинга. Pro · Лендинги и бренд › Первый экран

Установка

npx valyro-cli@latest login
npx valyro-cli@latest add hero-section
npm install valyro-ui-pro

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

Пропсы

PropTypeDefault
eyebrowHeroEyebrowAnnouncement pill above the headline; a link with an arrow when it has href.
title *ReactNodeHeadline; also the accessible name of the section.
highlightReactNodeRendered after the title with gradient text.
subtitleReactNodeSupporting paragraph under the headline.
primaryActionMarketingActionLarge primary button; a link when it has href.
secondaryActionMarketingActionLarge secondary button next to the primary one.
visualReactNodeProduct shot, code sample or illustration, framed by the theme's material.
align'center' | 'left''center'left puts the visual beside the text on wide screens.
headingLevel1 | 2 | 3 | 4 | 5 | 61Level of the title; default 1, as the hero usually carries the page's main heading.

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

  • Feature Grid — Сетка преимуществ
  • Bento Grid — Бенто-сетка карточек разной ширины и высоты с адаптивом
  • Logo Cloud — Логотипы клиентов
  • Pricing Table — Тарифные планы
  • Comparison Table — Сравнение продуктов
  • Testimonials — Отзывы клиентов
  • FAQ Section — Частые вопросы
  • Award Badge — Награда с лавровым венком, звёздами и подписью
  • CTA Section — Блок призыва к действию
  • Newsletter Signup — Подписка на рассылку
  • App Store Buttons — Кнопки магазинов приложений: App Store, Google Play, Galaxy Store, RuStore
  • Footer — Подвал сайта

Назад: Feature Flag Simulator · Далее: Feature Grid · Весь раздел «Лендинги и бренд»