AntJanus docs
v2026.09
2026.09 current 2024 · SvelteKit era archived ↗ 2012–2023 · WordPress + Dev.to archived ↗

Every past design of this site is kept on the history page.

On this page
  1. Reach for it when
  2. Preview, source, prompt
  3. Tokens it reads
  4. Gotchas
LayoutUpdatedAdded 2026-08-21 · Updated 2026-09-28

Hairline stat strip

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.

pattern hairline-stat-strip · category Layout · deps 0 · js optional

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
statscss-gridcss-onlyhairlineno-assets

Preview, source, prompt#

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 teardown Done
  • Kiln firing, part three Downloading
  • Field recording — marsh at dawn Queued
  • Lathe restoration, episode 12 Done
  • Sourdough hydration tests Failed
  • Bookbinding: the long stitch Queued

Showing all 6 downloads.

Tokens it reads#

TokenLightDarkUsed for
--border#d2d8e0#2c3743Container fill that shows through the 1px gap
--surface#ffffff#191f27Tile fill
--ink#161b22#e6ecf3Figures
--dim#56606e#97a4b4Labels, units, missing values
--accent#364f6a#6f92bdPressed tile tint, 14% over surface
--radius10pxOuter corners only

Gotchas#

Five tiles in a narrow column

A five-tile filter row pinned to five columns overflows its labels in a narrow container (“QUEUED 2 downloa…”). This page lets that row use repeat(auto-fit, minmax(7.5rem, 1fr)) instead, so it wraps before it clips.

Why a gap and not a border

Borders double where two tiles meet and leave a stray edge when the row wraps. A 1px gap over a border-colored container cannot do either.

← All patterns

Last updated
↑↓ to navigate↵ to openesc to close