1.9 KiB
04 · Stat-Led
The hero is a figure the user gave, with the line that says what it means. Everything that follows supports or qualifies it. Data is the narrative.
- Heading: a large numeric display at graphic scale (
craft.md§ 7, tabular figures) paired with a worded headline. The figure is the biggest element and never the hero's only words: say what it means beside or beneath it as a real headline, not a small label. Read them together: "Four seconds. From the alert link to the slow span." - Body: sections each anchored by a supporting figure or chart.
- Divider: hairline rules between figure blocks;
tabular-numseverywhere. - Button: an outlined chip beneath the qualifier, labelled with a verb ("Read the report").
- Image: charts and data-viz per
../data-viz.md; product photographs only in the slots the user asked for. - Reveal: number-tick on the hero figure, from 0 to the target over
--dur-long, legal only because the figure is real; the markup holds the final figure, so it reads with scripting off and under reduced motion (62).
Reach for it when the prompt says "we have proof in numbers": enterprise and B2B, fundraising, climate and impact pages.
Avoid when the user has not given a number. Every figure on this page is the user's, with its unit and its source (46a); a bare figure with no worded line fails 46b. A fake big number is worse than no number.
Compositions: Figures for the supporting row, Rows for the qualifiers (layout.md § 5).
Sample opening lines (the number is the user's; imitate how the words complete it):
"Four seconds. From the alert link to the slow span." The figure, then what it bought (Tracejam). "[the user's count] posts. New CSS you could use today." A count grounds the page in real volume. "[the user's rate] faster, so the team can decide late." A rate, then the behaviour it allows.