Design System
Data display

Description list

Label and value pairs for one record. A detail view is not a one-row table.

Purpose

A description list shows the fields of one record — a claim detail, a member profile, a guarantee-letter summary. Reach for it whenever you are tempted to build a one-row Table: a table compares records, a description list describes one.

ComponentUse
DescriptionListOne record's fields, read-only — detail pages, summary panels.
TableSeveral records compared column by column.
DataGridOperational lists that get searched, sorted or paged.
Field + inputsThe same fields when they are being edited — that is a form, not a list.

Example

Values are free composition — text, Badges, amounts, links. fullWidth gives a long field the whole row regardless of the column count.

Member
Aisyah Rahman
Status
Approved
Panel clinic
Klinik Mediviron, KL Sentral
Benefit type
Outpatient (GP)
Visit date
21 July 2026
Amount
MYR 85.00
Diagnosis

Upper respiratory tract infection; two days medical leave issued.

Claim detail
import { DescriptionList, DescriptionItem } from "@healthmetrics/ui/description-list";
import { Badge } from "@healthmetrics/ui/badge";

<DescriptionList columns={2}>
  <DescriptionItem term="Claim number">CLM-48213</DescriptionItem>
  <DescriptionItem term="Status">
    <Badge variant="success">Approved</Badge>
  </DescriptionItem>
  <DescriptionItem term="Diagnosis" fullWidth>
    Upper respiratory tract infection; two days medical leave issued.
  </DescriptionItem>
</DescriptionList>;

columns sets the desktop grid — 1, 2 (default) or 3. Every layout collapses to a single column on small screens; three columns need lg width before the third appears.

Corporate code
C3167
Organisation
Manforce Technology Solutions
Plan
Group Outpatient · 2026

Structure

The tokens behind the grid.

PropertyValue
GridCSS grid; 32px column gap (gap-x-8), 16px row gap (gap-y-4)
Responsive1 column below sm; columns={3} needs lg for the third
Term12px / Inter 600, uppercase, tracked wide, --muted-foreground
Detail14px --foreground, 4px under the term, wraps anywhere (long IDs safe)
Full widthfullWidth spans the item across every column (col-span-full)

Best practices

Do

  • Keep terms short nouns — "Panel clinic", not "The clinic where the visit took place".
  • Order fields by what the reader checks first: identity, status, then the details.
  • Compose values from other components — a Badge for status, tabular numbers for amounts.
  • Give long prose fields (diagnosis, remarks, addresses) fullWidth instead of letting them stretch one narrow cell.

Don't

  • Use it for editable fields — wrap inputs in Field and build a form instead.
  • Put several records in one list; that comparison is a Table.
  • Write values into term and labels into the children — screen readers announce the <dt>/<dd> pairing, so the order matters.
  • Uppercase the term text yourself — the styling does it; authored text stays normal case for screen readers.

Accessibility & keyboard

  • Renders a semantic <dl>; each item is a <div>-wrapped <dt>/<dd> pair (valid HTML, and what makes the grid layout possible). Screen readers announce term and detail together.
  • The term's uppercase look is CSS only — write it in normal case so it is spoken naturally.
  • Values wrap anywhere (overflow-wrap: anywhere), so long identifiers and email addresses never overflow or get clipped — nothing is truncated away from assistive tech.
  • Keyboard: none — the list is non-interactive. Links or buttons placed inside a value receive focus in DOM order.

Props

PropTypeDefaultDescription
columns1 | 2 | 3 | undefined2Term/detail column pairs per row on desktop.

DescriptionItem:

PropTypeDefaultDescription
termrequiredReact.ReactNode—The label (renders as `<dt>`).
fullWidthboolean | undefined—Span the full row regardless of the list's column count.
Description list in Storybook

On this page