Landing
LandingSectionHeading
Shared block heading: eyebrow, title and description, aligned to the start or centred.
components/landing/LandingSectionHeading.vue
View in the demo
Example
Six weeks, no surprises
Six weeks, no surprises
API
Props
Name | Type | Default | Description |
|---|---|---|---|
eyebrow | string | — | A short label above the title. |
title | string | — | The heading of the block. |
description | string | — | The sentence under the title. |
heading-id | string | — | The id of the heading, used by aria-labelledby and anchors. |
tag | string | "h2" | The element to render. |
align | LandingHeadingAlign | "start" | start or center heading. |
animation | RevealAnimation | "fade" | The reveal animation. |
delay | number | 0 | Delay of the animation. |
Slots
Name | Slot props | Description |
|---|---|---|
#title | — | Replaces the title. |
#description | — | Replaces the description. |