Skip to content
nexubDesign System
v11.9.0

Patterns · Marketing

Hero

Since v3.1.0

The page hero: ambient backdrop, eyebrow, display headline (the page's one h1), lead, actions and a visual. Server component.

import { Hero } from '@nexub/marketing';
View as Markdown

Examples

Default

Now in Vietnam

Run your whole company in one place

Payroll, bookkeeping and compliance for growing teams across Southeast Asia and India.

Props

Props
PropTypeDefaultDescription
titlerequiredReact.ReactNode—The headline, rendered as the h1.
eyebrowReact.ReactNode—A string becomes a gradient EyebrowChip.
descriptionReact.ReactNode—The lead paragraph.
actionsReact.ReactNode—One Button variant="hero" and one outlined button, usually.
visualReact.ReactNode—Product shot or illustration. Beside the text on wide screens with align="start".
align'center' | 'start''center'Text alignment and layout.
division'os' | 'commerce' | 'fintech' | 'intelligence' | 'autonomous'—Sets data-division on the section: a string eyebrow takes the division colour. Load @nexub/themes/divisions.

On iOS & Android