When the point of a slide is one number, or a few, a chart only gets in the way. This page shows you which number component fits the job, how the kit writes the numbers and their changes, when a figure counts up, and when a layout does the job with no component at all. Every prop is on the chart reference.
Pick the component
| Job | Component |
|---|---|
| One figure is the message | <BigNumber> |
| Two to four headline figures, each with its change | <StatRow> |
| Before and after, or A against B | <Comparison> |
| Progress towards a target | <Progress> |
| A share that should feel human, “3 in 10” | <Pictogram> |
| A trend as context beside a number | <Sparkline> |
One of each, in the order of the table:
<BigNumber value={3} unit="days" label="from signup to a live workspace" from={14} better="down" relative={false} />
<StatRow stats={[{ value: 38, unit: '%', label: 'fewer tickets', highlight: true }, { value: 2.5, unit: 'h', label: 'first reply', from: 14, better: 'down' }]} />
<Comparison from={{ value: 14, label: '2025' }} to={{ value: 2.5, label: 'October 2026' }} unit="h" better="down" />
<Progress value={31} target={40} unit="%" label="of questions solved by self-serve" />
<Pictogram value={3} total={10} label="questions now end in the help centre" />
<Sparkline values={[9, 7.2, 5.8, 4.9, 3.6, 2.5]} unit="h" />Put the component in the chart layout, alone or with an <Aside> beside it. A <StatRow> holds four stats at most and a <Pictogram> 100 units; past four figures, use a <Table> (Choosing a chart covers tables). <BigNumber> takes trend and each <StatRow> stat takes spark for a small line of recent values, so a separate <Sparkline> is for an <Aside> or a sentence.
Every component takes at, the step that reveals it. This slide shows a <BigNumber> on step 1 and brings in one region per step after it in its <Aside>:
<BigNumber at={1} value={48} unit="ms" label="median API latency at the edge" from={212} better="down" relative={false} context="All regions, the week after the move" />When a figure counts up
In a live deck, a plain figure counts up from zero to its value when the deck moves forward onto its slide, or onto the step that reveals it. It does not count:
- going backward, or when you open the slide directly by its URL;
- in static mode, so
deck shot,deck lintand every export show the final value; - with reduced motion turned on in the system;
- for a figure that is not a plain number (
<5,12–15,3 in 10), that reads as a year (1000 to 2999 with no sign or decimals), or that has fewer than ten steps in its last digit, such as3,7or0.5.
The figures of <BigNumber>, <StatRow>, <Comparison> and a single-bar <Progress> count, and so do the figures of the stats, equation and bento layouts. The final value holds its place in the layout the whole time, so nothing reflows while it counts. Steps and motion in general are on Builds.
Deltas and which way is better
Give a figure from and the kit computes the change and writes it. better says which way is good news (up by default; down for hours, costs and errors) and colours the change from it. relative writes the change as a percentage of from, except for values in percent, whose change is written in points:
---
layout: chart
title: The redesign cut tickets, sped up replies and lifted satisfaction
eyebrow: The scorecard
budget: 1m
---
<StatRow
stats={[
{ value: 38, unit: '%', label: 'fewer tickets a month, June to October', highlight: true, spark: [7.0, 6.9, 7.2, 7.3, 7.4, 7.1, 5.9, 5.1, 4.6, 4.4] },
{ value: 2.5, unit: 'h', label: 'median first reply in October', from: 14, better: 'down', spark: [14, 13, 13.5, 12, 11, 7.2, 4.2, 3.4, 2.9, 2.5] },
{ value: 91, unit: '%', label: 'of rated conversations marked good', from: 84, spark: [84, 85, 84, 83, 85, 86, 88, 89, 90, 91] },
]}
/>
<Footnote>Source: Lumen helpdesk, January to October 2026. Satisfaction from 6,210 rated conversations.</Footnote>
<Notes>
Three numbers, one story: fewer people need us, and the ones who do get answers faster and like them more.
The ticket number is the one to remember. The next slide shows where it comes from.
</Notes>Slide 2 of the data-stories deckView on GitHub
The second stat is 2.5 h from 14 with better: 'down', so it reads “−82% vs 14 h” in the good-news colour; the third is 91% from 84, so it reads “+7 pts vs 84%”. With relative={false} the change is written in the unit: the <BigNumber> above shows “−164 ms”. Without from, write the change yourself in delta (“+12% since 2025”), with tone (positive, negative or neutral) to colour it; on a <StatRow> stat, trend (up, down, flat) points the arrow of a delta written without a sign. A change across zero is always written in the unit.
<StatRow> takes its stats as RowStat objects (<Progress> takes items of the similar ProgressItem for several bars):
RowStat
| Field | Type | Default | Description |
|---|---|---|---|
valuerequired | number | string | — | The number, formatted by the brand, or text as it should read. |
labelrequired | string | — | What it counts, in a few words. |
delta | string | — | The change as written ("+12% since 2025"); computed from from when that is given. |
from | number | — | The value it is compared with, for a computed delta. |
relative | boolean | true; false for values in percent | Write the change from from as a percentage of it, or in the unit (false). The default is a percentage, except for values in percent (unit "%" or format "percent"), whose change is written in points: "+7 pts". A change across zero is always written in the unit. |
better | "up" | "down" | up | Which way is good news, for a computed delta. |
tone | "positive" | "negative" | "neutral" | — | Whether the change is good news; from better and the sign when left out. |
trend | "up" | "down" | "flat" | — | Which way the change points, for a delta written without a sign. |
spark | number[] | — | Recent values, oldest first, drawn as a sparkline under the label. |
highlight | boolean | — | The stat the point rests on: an accent rule and the accent color. |
format | Format | — | How this stat's number is written, over the row's. |
unit | string | — | This stat's unit, over the row's; it resets the row's format style unless it is a scale (K, M, B). |
charts.json · types
<Comparison> draws the two values as bars from a shared zero line and writes the change between them. Next to it, a <Sparkline> in the <Aside> gives the weeks in between:

Number formats
The brand sets the number style (compact notation, its currency and locale), and format overrides it per component or per stat: "number", "standard", "compact", "currency", "percent", "delta", "percent-delta", "currency-delta", or an object:
FormatOptions
| Field | Type | Default | Description |
|---|---|---|---|
style | "number" | "currency" | "percent" | — | percent values are in percent already (34 is 34%); currency adds the currency sign. |
notation | "standard" | "compact" | — | compact writes 1.2M; standard every digit. |
currency | string | — | An ISO 4217 currency code, such as EUR. |
digits | number | — | Exactly this many fraction digits, 0 to 4. |
signed | boolean | — | Always show the sign, for changes: +12. |
charts.json · types
Percent values are already in percent: write 34 for 34%. unit follows each value ("ms", "h", "trees"); a scale unit (K, M, B) sits tight against the number and keeps the currency sign, so unit="M" with currency writes $1.2M.
When a layout is better
Three layouts set figures from frontmatter, with no component:
stats: two to four figures in a row, each with a label and an optionaldelta, when the point is the size of things side by side.equation: two to fourterms:joined byop(times,plus,minus,divide) and aresult:, when a figure is built from its parts. Withreveal: truethe terms arrive left to right, one per step, and the result last.bento: three to five tiles of one subject, figures, text and pictures mixed, with the lead tile on the accent surface.

Their fields and limits are on their layout pages: stats, equation and bento.





