Skip to content

Stats centered

Centred hero with a stats row and a wide media panel.

Usage

Usage
import { HeroStats } from '@/components/blocks/hero-section-01'


<HeroStats />


// Change the copy with props. The images live in hero-section-01.tsx, so edit them there.
<HeroStats title="Your headline here." ctaHref="/signup" />

Install

pnpm dlx shadcn@latest add @pastaui-pro/hero-section-01

Source

Props

Stats centered props
PropTypeDefaultDescription
badgestring= Loved by 1,200+ teamsText inside the social-proof badge.
titleReactNode= Headline with a muted accent wordThe main heading.
descriptionstring= Short introductionSupporting copy below the headline.
ctaLabel / ctaHrefstring= Get started / #pricingAction text and destination.
statsHeroStat[]= Four sample statsValue and label pairs shown in the stats row.
classNamestring= —Additional classes for the section.