Landing
LandingStats
Key figures with context. Works well on the brand or muted tone. Values never wrap; only the label below can take two lines.
components/landing/LandingStats.vue
View in the demo
Studio landing
- 120projects launched since 2019
- +32%average conversion after launch
- 6weeks average turnaround
- 74%returning clients
Product landing
What changes in the first quarter
- -32%status meetings
- 4 hsaved per person every week
- 99.98%uptime over 90 days
In your content
Section blocks are rendered by LandingRenderer from the sections array of a landing. Add this one to your content:
sections: [
{
type: 'stats',
tone: 'surface',
props: { … },
},
]
The props follow LandingStatsProps in types/components/landing.ts; the table below lists them.
API
Props
Name | Type | Default | Description |
|---|---|---|---|
itemsrequired | LandingStat[] | — | The entries of the block: value, label and an optional suffix shown smaller after the value, such as /100 for a score. |
label | string | — | The accessible name of the block. |
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. |
align | LandingHeadingAlign | "center" | start or center heading. |