Stats
The Stats block shows a handful of large numbers on a dark panel, each with a short label.
In the admin: a page’s Content, block Stats
What to put in it
Section titled “What to put in it”- Headline is the first sentence, in light type.
- Second sentence (shown muted after the headline) follows it in a dimmer colour. Leave it empty for a single sentence.
- Each row of Stats is one number: Value is the figure, such as “23%”, and Label is the short text under it that says what it measures.
| Field in the admin | Kind | Notes |
|---|---|---|
| Headline | Short text | |
| Second sentence (shown muted after the headline) | Text | |
| Stats | List of rows | Required. Each row: Value, Label. 1 to 6 rows. |
| Section ID (lowercase, for links like /#pricing) | Short text |
| Field in the admin | Kind | Notes |
|---|---|---|
| Value | Short text | Required. |
| Label | Short text | Required. |
Change a number
Section titled “Change a number”- Open the Stats block, then the Stats list.
- Select a row to open it.
- Change Value and Label.
- Publish the page.
Good to know
Section titled “Good to know”- A block holds 1 to 6 stats.
- Keep each Value to a short figure. Put the explanation in the Label, not the value.
- The dark panel, the type sizes and the colours are fixed. Email developer@example.com to change them.
When a field is empty
Section titled “When a field is empty”- Without a Second sentence, only the headline shows.
- A row needs both its Value and its Label before the page can be saved.