DataList

The read-only 'field: value' detail block — a real description list (<dl>/<dt>/<dd>) for demographics, order summaries, settings recaps, and entity metadata. Three responsive orientations, a token-driven label column, dividers, graceful empty values, truncation, and an opt-in copy affordance.

Stablev0.3.0@garn/ui/data-list

Default

The default row layout — four field/value pairs.

Name
Ada Lovelace
Email
ada@analytical.dev
Role
Principal Engineer
Joined
March 12, 2024

Orientations

row · stacked · grid (aligned) side by side.

row (default)

Order
#10293
Status
Fulfilled
Total
$249.00

stacked

Order
#10293
Status
Fulfilled
Total
$249.00

grid (aligned)

Order
#10293
Status
Fulfilled
Total
$249.00

Dividers

Hairline rules between rows, with Badge / Avatar values.

Plan
Pro
Seats
12 of 20
Renews
January 1, 2027
Owner
GHGrace Hopper

Copyable

Inline copy affordances on IDs / keys / emails.

API key
sk-live-9f2a7c1e8b40d35f6a9e0c4b1d7e2f8a
Customer ID
cus_Qh82Kd0fL
Email
billing@acme.co

Empty

Empty values — the default em-dash and a custom placeholder.

Phone
+1 (555) 010-2934
Middle name
Not set
Backup email
Not set

Sizes

sm · md · lg.

Name
Katherine Johnson
Team
Flight Dynamics
Name
Katherine Johnson
Team
Flight Dynamics
Name
Katherine Johnson
Team
Flight Dynamics

Overflow

Two long-value strategies — truncate (one line + title) vs wrap (default).

truncate (one line + title)

User agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 14_4) AppleWebKit/605.1.15
Referrer
https://example.com/very/long/path/that/keeps/going

wrap (default)

User agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 14_4) AppleWebKit/605.1.15
Webhook
whsec_4f9a2c7e8b40d35f6a9e0c4b1d7e2f8a3c5b

In Card

A patient detail panel inside a Card with a status Tag.

Patient
MRN
MRN-4827193
Name
Jordan Rivera
DOB
1989-07-21 (35)
Acuity
Urgent
Allergies
Not set