Hero

Page hero section — centered or split layout with eyebrow, title, description, actions and media slots. Replace demo content before shipping.

Category: layout · WCAG 2.1-AA · section, hero, marketing

Variants

Props

PropTypeDefaultDescription
variant"centered" | "split""centered"Layout variant: centered (single column) or split (two columns)
titleReactNodePrimary heading content
eyebrowReactNodeSmall monospace label above the title
descriptionReactNodeSupporting paragraph below the title
actionsReactNodeButtons or links rendered in a row below the description
mediaReactNodeRight-hand slot in the split variant (image, demo, code block)
headingLevel1 | 2 | 31HTML heading level for document outline control

Design tokens

When to use

When not to use

Examples

Centered hero

Single-column hero with eyebrow, headline, description, and CTA buttons

<Hero eyebrow="v8 — Assembly Included" title="Ship the dashboard your ops team deserves" description="Cascade gives you charts, layouts and sections — fully composed, copy-paste ready." actions={<><Button>Get started</Button><Button variant="ghost">View docs</Button></>} />

Split hero

Two-column layout with copy on the left and media on the right

<Hero variant="split" title="Signal-driven, CSS-native" description="Fine-grained reactivity with zero re-renders. Beautiful by default." actions={<Button>Start building</Button>} media={<img src="/preview.png" alt="Dashboard preview" />} />

Related components

← Back to docs