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

Hero Section

Landing page hero. Pro · Landing pages and brand › Hero

Installation

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';

Props

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.

Related components

Previous: Feature Flag Simulator · Next: Feature Grid · All Landing pages and brand