Feature Library

Status table: aligned rows for status and action

<0.01 CPU ms
A still of the Status table: aligned rows for status and action demo
Still
The live demo starts when it’s in view.Click a header to sort · Open, assign or mark a row done · Room: a phone’s width turns the rows into blocks

A short table of things that need attention, built to be read at a glance and acted on.

Numbers are right-aligned in tabular figures with their units in the header; each status is a shape and a word as well as a colour, its sign in a slot of one width so every word after it starts on one edge, with its detail on a quiet second line; it sorts most urgent first by default, with sortable headers that say their order; each row has its actions (open, assign, mark done) as plain buttons named with the row. Under 40rem of its own width each row becomes a block that keeps the same edges, and the table keeps its roles for a screen reader. Every row is drawn: for long lists use data-table, which takes the same status cells.

What it costs a frame

<0.01 ms
GPU
not used
CPU, median
<0.01 ms
CPU, 95th pct
<0.01 ms
Draw calls
0
Weight
Light

Measured 28 November 2026 on RTX 4060 Laptop, 13th Gen Intel(R) Core(TM) i9-13900H, Chrome 158, 1920×1080 at 1×. 600 frames × 3 rounds, median kept (rounds ranged CPU <0.01–<0.01 ms). What ran: Measured Alone: seven rows with status, numbers, a detail line and three row actions. The bench sorts by waiting time, sorts back and marks a row done. Phones: tiers are being measured next.

How steadily it runs on RTX 4060 Laptop · 13th Gen Intel(R) Core(TM) i9-13900H · reference

Typical frame ?
16.97 ms
1% low ?
45 fps
Varies by ?
±0.93 ms
All metricsRTX 4060 Laptop · 13th Gen Intel(R) Core(TM) i9-13900H · reference
p50p95p9916.01 ms18.36 ms +
How long each frame took. Most frames sit in the tall bars; a long tail to the right is hitching.

Frames run on a 60 Hz timer (a page demo), so most frames take about one tick, 16.7 ms: the spread around it is what matters.

Frames

Median (p50) ?
16.97 ms
p95 ?
17.80 ms
p99 ?
18.27 ms
Slowest ?
34.30 ms
Mean ?
17.03 ms
Standard deviation ?
0.93 ms
1% low ?
45 fps
0.1% low ?
29 fps
Hitches ?
1 of 600
Over budget ?
2 of 600

Main thread

Long tasks ?
0
Long frames ?
0
Event-loop delay ?
0.1 / 0.3 / 0.4 ms

Input

Interactions ?
9
Input to paint ?
2.0 ms, worst 18.1
Longest handler ?
1.2 ms

Memory

JavaScript heap ?
30.4 → 29.9 MB
Growth ?
-0.52 MB

Browser

JavaScript a frame ?
0.13 ms
All tasks a frame ?
0.58 ms
Layout / style ?
0.01 / 0.02 ms
Main thread busy ?
3%

Garbage collection

Collections ?
1 (0 minor, 1 major)
Pauses ?
4.2 ms in all, longest 2.6

What it needs

Renders with
DOM and CSSPlain DOM and CSS: every current browser.
Your browser
Runs hereNo WebGPU needed
Depends on
NothingNo other packages
With an agent
install("status-table")Your coding agent reads its pitfalls and installs it through the library’s MCP server. Set it up

What it’s for

  1. The rows that need action at the end of a dashboard
  2. Incidents, orders, tickets or sites by state
  3. A short list where each row is opened, assigned or marked
  4. A status column in a long data-table

Pitfalls, in brief

  1. Import status-table.base.css, then status-table.css (or your own look): the base holds the alignment and the stacked blocks; without it a phone gets a table wider than the screen.
  2. Every row is drawn. Past a couple of hundred rows use data-table (virtual rows) and fill its status column with renderStatus, or show only what needs action here and link to the full list.
  3. rowKey must be stable (an id): when rows change, the focus goes back to the same button of the same row by its key.
  4. Put the unit in the column’s unit, never in each cell: "Waiting (min)" over plain numbers lines up; "230 min" in every cell does not and reads slower.
  5. A status the table does not know (not in statuses) shows as its plain word with no sign and sorts last.
3 more in brief
  1. The stacked blocks follow the table’s own width (a container query), not the window: a table in a narrow panel stacks on a wide screen too.
  2. With captionHidden the caption is for screen readers only: give the table a visible heading of its own next to it, or the rows have no title on screen.
  3. An action’s button is named with its row ("Open: A-1042"), so a screen reader’s list of buttons makes sense; keep the label short, since the row’s name is added.
8 pitfalls in full, the hook-up guide, the module source and its tests come with the part.

Where it comes from

Written for the library. Fully custom code.

WAI-ARIA Authoring Practices Guide (W3C): The sortable table pattern: a button in each sortable column header and aria-sort on the one that sorts.

Adrian Roselli, “Tables, CSS Display Properties, and ARIA” (2018): Why a table restyled as blocks needs its roles said outright. Guidance, no code.

tablestatustriagerow actionssortingaria-sorttabular numbersresponsive tablestacked rowscontainer queriescolour-blind safeaccessibilitydomno dependencies

Near it in the frame