AntJanusAntonin Januska

Hairline stat strip

Stat tiles joined by hairlines that are grid gap, not borders.

Added 21 August 2026
Updated 28 September 2026


stats, css-grid, css-only, hairline, no-assets
A row of stat tiles joined by hairlines that are grid gap, not borders — the container paints the border color and the tiles paint the surface, so separators never double up or break when the row wraps — in a reporting form and in a second form where each tile is the filter for the list beneath it.

Reach for it when building

  • summary strip at the top of a detail page
  • dashboard KPI row
  • account usage overview
  • report header figures
  • profile stats band

Below: the pattern live, then its markup, styles, behaviour, and the prompt that rebuilds it.The live site clips labels at the five-column filter row (“QUEUED 2 downloa…”). Here the columns are pinned to the container width with a container query and labels wrap with overflow-wrap: anywhere, so nothing is cut. This handout restyles it into its own palette; the source uses the library’s shared tokens.

Reporting only — the figures are the whole job.

Documents1,482this period
Median time3.2slast 24h
Clean runs98.4%no retries
Quality score—not rated yet

Same strip, working as the filter. Press a tile to narrow the list; press it again to clear.

  • Bicycle drivetrain teardownDone
  • Kiln firing, part threeDownloading
  • Field recording — marsh at dawnQueued
  • Lathe restoration, episode 12Done
  • Sourdough hydration testsFailed
  • Bookbinding: the long stitchQueued

Showing all 6 downloads.

Nearby in the library

  • Benchmark progress bar — places a raw figure on a scale of external benchmarks instead of printing it plain.
  • Shape-mark sequence — a sequence compressed into a row of small marks whose shape carries the state.
  • Partitioned stage bar — progress for work with several possible endings, drawn as a census rather than a fraction.