Patterns · Marketing
SectionHeader
Since v3.1.0
Eyebrow, headline and lead that open a section. Server component.
import { SectionHeader } from '@nexub/marketing';Examples
Default
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| titlerequired | React.ReactNode | — | The section heading (h2 by default). |
| eyebrow | React.ReactNode | — | A string becomes a gradient EyebrowChip. |
| description | React.ReactNode | — | The lead paragraph. |
| align | 'center' | 'start' | 'center' | Alignment. |
| level | 2 | 3 | 2 | Heading level. |
| 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
Web only
SectionHeader has no @nexub/react-native twin. On phones, follow the platform pattern instead, or compose it from the native components listed on the React Native page.