WelcomeHero
Onboarding heading with optional icon and subtitle (plain or linked). Used at the top of empty/welcome surfaces.
Preview
Usage
import { WelcomeHero } from '@ramtt/ui'
<WelcomeHero
heading="Welcome back, Malte"
subtitle="Pick up where you left off"
subtitleHref="/dashboard"
/>Props
| Prop | Type | Default | Description |
|---|---|---|---|
| heading* | string | — | Main heading |
| icon | ReactNode | — | Optional icon rendered before heading |
| subtitle | string | — | Subtitle paragraph |
| subtitleHref | string | — | Renders subtitle as a link to this URL |
| italic | boolean | false | Italicize heading (e.g. for greetings) |
| className | string | — | Additional Tailwind classes |