# Stat row

> Four key figures across one tonal band, each set at display size with its unit small and tight beside it, every figure locked to a single baseline and sitting on a hairline that makes that baseline visible. States no colour and no font of its own.

Canonical: https://patternpaste.com/pattern/stat-row.html
Section: Stats
Access: Included in Pattern Paste access.
Needs: Requires a block theme on WordPress 7.0 to 7.1. Classic themes and page builders are outside our supported setup. Adaptive patterns use the block theme’s colour, spacing and typography presets; styled variations declare their own colours or type.
Blocks: column, columns, group, heading, paragraph, separator
Keywords: stats, statistics, numbers, metrics, results

## Variations (3)

### Tonal band (the default)

Identical markup in every theme.

The row on a base-2 wash, which resolves to plain white in both Twenty Twenty-Four and Twenty Twenty-Five, so in those themes the structure comes entirely from the hairlines the figures sit on.

### Ledger paper

This variation states its own colours: identical in every theme.

States its own colours instead of inheriting yours: ink and slate on a warm paper, identical in every theme and matching none of them. Take this one if you want a printed statistical table exactly; take the others if you want your site's palette.

### Night band

Identical markup in every theme.

The colour axis, done the only way the contract guarantees: the band inverts to your contrast and every figure, unit and label is your base. Both slugs exist in every theme, so unlike a tinted wash this one actually reads as a band wherever it lands.


---

## The signature moment: baseline-locked data

The four figures have unequal digit counts and four different units, and they
still sit on one line across the whole band. That lock is the pattern.

It is built rather than drawn, because copy-paste markup carries no CSS of
its own and none of the alignment tools that would normally do this job
(`align-items: baseline`, a grid row, a subgrid) can be expressed in a block
attribute. So the alignment is a property of the composition:

- **The figure is always the first block in its cell**, and all four figures
  carry identical typography. Equal columns start at the same y, so
  identical first line boxes put every baseline at the same height. Nothing has
  to be measured or nudged, and the lock survives a buyer editing the copy.
- **Nothing sits above a figure.** No eyebrow, no rule, no icon. Anything above
  one cell's figure that is a different height in another cell would break the
  row, so that slot is kept empty by design.
- **The line-height on the figures is 0.85**, which pulls the paragraph's box
  bottom down to within a pixel or two of the baseline in any face the buyer's
  theme sets. That is what lets the hairline below it act as the baseline: at
  `margin-top: 0` the rule lands where the digits sit, not where the line box
  happens to end.
- **The hairline makes the lock visible.** Four collinear rules across the band
  are the datum the eye reads the row by, and they are the reason the alignment
  is noticed rather than merely correct.
- **The unit is a separate block, not part of the figure's text.** It sits in a
  `nowrap` flex row with the figure, aligned to the same bottom edge, so it can
  never wrap away from its number and never widens the figure's own line. It is
  set small, uppercase and lightly tracked with a 0.35rem gap: tight against the
  figure without touching it. Its own line-height is tuned so its baseline lands
  on the same rule.

The figures carry no colour of their own beyond your `contrast` chain. Weight,
size and tracking do the hierarchy, so the section still reads as data in a
theme with a full palette and in one with none.

## Why this is not the feature grid

Both patterns set numerals large, and that is where the resemblance ends.

- **`feature-grid` uses numerals as structure.** `01`, `02`, `03` are index
  labels promoted to display size; they hang *below* a rule that acts as a
  header, and each introduces a heading and a paragraph of copy. Remove the copy
  and the numerals have nothing to index.
- **`stat-row` uses numerals as data.** Each figure is a measured value with a
  unit, it sits *on* its rule rather than under one, there is no heading and no
  sentence inside any cell, and the four cells are read across the row rather
  than down a list. The row is dense where the band is airy, and the tonal wash
  and the closing source note frame it as a report rather than a set of features.

If a future variation ever makes a single figure the whole composition, that
belongs to `error-404` and not here.

## What it inherits from your theme

- **Typeface.** The pattern states no font family anywhere. The figures, the
  labels and the heading all take whatever your theme sets, serif or sans. The
  baseline lock does not depend on the face, which is why the line-height is
  tuned rather than the position.
- **Palette.** The wash is your `base-2` where your theme has one, falling back
  to your `base` and then to a colour WordPress itself guarantees. Text is your
  `contrast` on the same terms. No accent slug appears anywhere in the section,
  in any rung, because an accent's brightness is unknowable and this band is
  entirely text on a ground.
- **The hairlines.** Drawn in the separator's own `currentColor`, so they follow
  your text colour wherever your theme puts it, including in a dark style.
- **Spacing scale.** Band padding, the gutters and the gap under each rule use
  the core spacing presets, so the section breathes at your theme's rhythm.

## What it decides for itself

- **Proportion.** The figure scale, the negative tracking on it, the 0.85 line
  height and the small tracked label are the pattern's own. That ramp is the
  design.
- **The grid.** Four equal cells, full-bleed ground, 1240px constrained inner.
  Below 782px WordPress stacks the cells to one column; each cell is
  self-contained, so a stacked stat keeps its figure, its rule and its label
  together and the section becomes a legible list rather than a broken row.
- **One tone for all text.** Labels are not set in a lighter grey, because the
  only slugs that could supply one have unknowable brightness. Size, weight and
  tracking carry the hierarchy instead.

## What you change first

1. **The numbers and the labels.** Keep each figure to four glyphs or fewer so
   it stays on one line at tablet width, and keep labels to two or three words.
2. **The units.** They are separate blocks, so a unit can be deleted outright
   and the figure keeps its position. A prefix unit, a currency symbol for
   example, works by dragging the unit block ahead of the figure inside the same
   row.
3. **The count.** Delete a cell for three across, which is the other composition
   this band is drawn for. Five will crowd the figures at this measure; at that
   point step the figure size down.
4. **The source note.** It is what makes the row read as reported rather than
   asserted. If you delete it, delete the eyebrow too, or the masthead is left
   top-heavy.

## Display type

Off the theme's ladder on purpose, because the size is the composition:
- paragraph at clamp(3rem, 7vw, 4.75rem)
