Data list

Label and value pairs, for a detail view. Composed from a card, a header, rows and a footer, so a layout the system has not seen is an arrangement rather than a new prop.

Reach for it

Label and value pairs in a detail view.

Not for

Rows that need sorting, selection or comparison across columns. That is a table.

Rows, grids and densities

Rows render a real definition list, so a pair is announced as one thing rather than as two unrelated cells. Use DataGrid when the values are short enough to sit two or three across. The density lives on the card and the header, rows and footer read it, so they cannot disagree.

Invoice INV-1042

Pending

Debtor

Mooncard SAS

Issued

3 March 2026

Due

12 March 2026

Mandate

Status

Collected

Total

EUR 12,480.00

A row with no label, for a note or an embedded component.

Company

Legal name

Mooncard SAS

SIREN

824 753 396

Country

France

VAT

FR 32 824753396

Billing address

24 rue de la Paix, 75002 Paris, France

Amounts

Amount excl. taxes

EUR 10,400.00

Amount incl. taxes

EUR 12,480.00

Receivable

OCR

Reference

INV-1042

Amount incl. taxes

EUR 12,480.00

Amount excl. taxes

EUR 10,400.00

Debtor number

824 753 396

Delivered

Net due

EUR 12,480.00

API reference

DataCard

PropTypeDefaultDescription
children*ReactNode-
data-testidstring-Names the element for a test. Never rendered, never announced.
densityListDensity-

DataCardHeader

PropTypeDefaultDescription
title*string-
actionReactNode-

DataCardFooter

PropTypeDefaultDescription
children*ReactNode-

DataRows

PropTypeDefaultDescription
children*ReactNode-
isDividedboolean-Draws a rule under each row but the last. On by default. Off for a short run of values read as one group, such as an amount excl. and incl. VAT: a rule between two lines splits what belongs together. The rows then sit closer, at the vertical gap a `DataGrid` keeps.

DataGrid

PropTypeDefaultDescription
children*ReactNode-
columns'1' | '2' | '3'2

DataRow

PropTypeDefaultDescription
children*ReactNode-
data-testidstring-Names the element for a test. Never rendered, never announced.
layout'rows' | 'grid'rows
density'comfortable' | 'compact'comfortableComfortable rows sit inside the card's own padding, so they take no horizontal padding of their own and drop the first and last edge so the list does not double the card's inset. Compact rows run to the card's edges and are read by scanning down the labels, where generous rows push half of them off the screen.
intent'neutral' | 'success' | 'warning' | 'danger'neutralA row that carries a meaning, not one merely picked out. For a value checked against another source: an amount that reconciles, a field the OCR read differently. The tint is the whole signal, so it stays quiet enough to read text on.
isHighlightedbooleanfalseEmphasis, for the one row that is the answer: a total, a balance. A marker in the gutter rather than a filled block, which competed with `intent` and broke the banding down the card.
spansFullWidthbooleanfalse
labelReactNode-Omit for a row that is all value: a note, a total, an embedded component. A node rather than a string, because a label is sometimes a name beside a tooltip or an icon. A string is wrapped in a Paragraph so it matches the others; anything else is rendered as it comes, since wrapping a node that already contains a `<p>` nests one paragraph in another and the browser closes the outer one, dropping the text.
isLoadingboolean-Draws a skeleton instead of the value.