Components / data
Rows
A list of items where nothing is being compared — settings, recent activity, a file list.
Summary
A list of items where nothing is being compared — settings, recent activity, a file list.
| APG pattern | none |
| Built on | native elements |
| Status | stable |
| Since | 0.1.0 |
<Rows items={[
{ title: 'Northlight', icon: <Icon path={ICONS.imageSquare} size="md" />, meta: 'Published', tone: 'positive' },
{ title: 'Motion reel', icon: <Icon path={ICONS.eye} size="md" />, meta: 'Unsaved', tone: 'warning' }
]} />
<Rows form="timeline" items={[
{ date: 'Oct 15', title: 'Wave 2 complete', description: 'Badge, Chip, Stat, Prose shipped.', meta: 'Merged', tone: 'positive' },
{ date: 'Oct 14', title: 'Parity rows', meta: '17 of 17' }
]} />
<Rows form="facts" items={[{ term: 'Owner', value: 'Davor' }, { term: 'Due', value: 'Oct 20' }, { term: 'Points', value: '3' }]} />
Two forms since 0.8: timeline, a dated rail, and facts, term and value pairs. With no form, the rows as they always were.
Anatomy
A <ul data-se="list">. The export names the units it holds; the data-se value names the anatomy, which is a <ul>. Those answer two different questions and the anatomy wins on the attribute.
A plain row holds a title and, each optional, a description (a second line under the title), a value (the row's figure, at the end), a meta (a muted status) and actions. The description is written after the title, so it is read in that order, and the row draws it on a line of its own.
The timeline form adds date and marker before the title and keeps the description under it, on the same <ul> with data-form="timeline". The facts form is a <dl data-se="list" data-form="facts"> whose rows hold a term (<dt>) and a value (<dd>) — a list of terms and values is what a <dl> is for, and the anatomy name stays list because that is what it still is.
| Part | Element | Required |
|---|---|---|
actions | <span> | no |
date | <span> | no |
description | <span> | no |
dot | <span> | no |
marker | <span> | no |
meta | <span> | no |
row | <div> | yes |
term | <dt> | yes |
title | <span> | yes |
value | <dd> | yes |
Properties
| Property | Values | Default | What it does |
|---|---|---|---|
form | timeline · facts | none | Which form the list takes. Omitted, the rows as they always were. timeline: a dated rail, each row's date in a column and a marker on a line that runs through the rows. facts: term and value pairs that wrap into columns — a <dl>, which is what they are. |
items | Array<RowItem | FactItem> | required | The rows: RowItems, with a date each in the timeline form; FactItems in the facts form. |
States
_None. Rest is the only condition it has._
Behavior
None. It is a list.
Accessibility
tone adds a colored dot and tints the meta text — always alongside the word, never instead of it. The dot is decorative; the word carries the meaning.
actions holds trailing controls, and each one needs its own accessible name. An icon button in a row says which row in its label (Remove Northlight), because a screen reader lists the buttons without their rows.
A list of rows is announced as a list, with a count, because it is a real <ul>. The facts form is a real <dl>, so a screen reader pairs each term with its value — Owner, Davor — in the DOM's order, term first, whatever the column draws first.
The timeline's rail is decoration. The marker carries aria-hidden; the date is text and is read before the title. Nothing on the rail is a control.
Keyboard
None of its own. It is not focusable and takes no keys.
Roles, states and properties
| Attribute | Set by |
|---|---|
aria-hidden | always true |
Focus
Takes no focus. A list whose rows are focusable is a Listbox or a Menu.
Screen reader
Not recorded as verified. Stage 4 of the readiness ladder — driving each component with VoiceOver and NVDA — is unstarted across the package, and no component should claim otherwise until docs/journal/ records the session that did it.
Contrast and target size
npm run check:contrast audits every color pair this component uses across all four skins, light and dark, and fails the build on a shortfall. Two waivers are on the record in docs/audit/DEFERRED.md.
It sets no target size of its own; anything interactive inside it brings its own.
Tested
test/apg/batch-c.test.jsxtest/apg/rows-forms.test.jsxtest/apg/rows.test.jsxtest/apg/stat-prose.test.jsxtest/browser/rows-forms.spec.mjs
Known gaps
_No upstream requirement is recorded as not applicable._
Appearance
| Token | Used for |
|---|---|
--se-border | background, border-block-end |
--se-border-strong | background |
--se-border-width | border-block-end, inline-size, inset-inline-start |
--se-col-min | grid-template-columns |
--se-control-h-lg | min-block-size |
--se-dot-size | block-size, inline-size, inset-block-start |
--se-font-code | font-family |
--se-leading-body | line-height |
--se-leading-ui | line-height |
--se-negative | background, color |
--se-positive | background, color |
--se-radius-pill | border-radius |
--se-space-1 | gap, row-gap |
--se-space-2 | gap |
--se-space-3 | column-gap, gap, inset-block, padding-block, padding-inline |
--se-space-4 | gap |
--se-text | color |
--se-text-md | font-size |
--se-text-muted | color |
--se-text-sm | font-size |
--se-text-xs | font-size |
--se-warning | background, color |
--se-weight-medium | font-weight |
Motion
None. A timeline that grows gains a row; nothing animates in.
Content
meta is the row's status in one or two words — Published, Domain verified, Unsaved. If it needs a sentence, the row is a Card.
On the timeline, date is the day as the reader says it — Oct 15, Day 58, 2026-10-15 — already formatted, and description is what happened, in one sentence. A fact's term is one or two words — Owner, Due, Points — and its value is the thing itself, formatted: Oct 20, 3, 14 of 20.
Usage
If the reader needs to compare values across items, that is a DataTable. A list is for items read one at a time; a table is for a column read down.
The timeline is for what happened, in order. A journal, a history, a run log — read down the rail. It is on Rows rather than Feed because Feed carries a keyboard contract (a feed is navigated), and a timeline is read.
The facts form is a sheet of key and value. An item's owner, due date and points; an event's venue and time. Up to six or so; past that it is a DataTable with one row, or two sheets. The value is drawn above the term because the number is what the eye wants first — the same ruling as Stat, which is the one-number version of this.
value is what the row is about; meta is what describes it. An amount, a count or a total is the value: it is drawn at the body size in the text color. A status or a date is meta: small and muted, with a dot when it has a tone.
Rows sit inside a panel's padding. A plain row has no inset of its own, so its title starts where the Header above it starts. In a Card, put the list in a Body that is not flush.
When not to use it. For a list whose items are selectable or navigable by arrow key — that is a Listbox or a Menu. For one number with its word, Stat.
Notes
Plural on purpose. Rows is a container of row parts, the same way options holds option.
form is a value axis, not two booleans (Wave 3, the lead's ruling). A row is one of three things; two booleans would allow a fourth. Nothing in either form applies with no form set — every rule selects on data-form, so the rows the apps already render are untouched.
The rail belongs to the marker. Each marker stretches to its row and draws the line down its own middle, so the rail is continuous without any row knowing the next row's height; the first and last trim theirs at the dot. A single line on the list was tried first and needs the date column's width, which is content.
Facts render a <dl>. Four apps drew term and value with a <dl> already (the builder's .cc-facts and .hub-facts, hosting-event's Fact thirty-nine times); the form keeps the element they chose.
The title is at the body step, and a row may carry a figure and a second line (14 Nov 2026). Every part of a row was text-sm, so a title was told from the status beside it by weight alone, and a column of titles read as one heavy block. The title now reads text-md. value was added because meta is muted, and the amount a row is about is the last thing that should be. description was the timeline's only; a plain row takes it too. docs/composition.md has the rule these follow: one level differs from the next in size or color, never in weight alone.
A plain row has no inline padding (the same day). It padded --se-space-3, a table cell's inset, so under a heading its text sat 12 further in than the heading and its hairline ran past its text. A list has no cells. The timeline and facts forms are unchanged.