Layout & display
DescriptionList
Key and value pairs, as a real dl. The markup is the point: a grid of divs states no
relationship between a label and the value under it, so a screen reader reads a run of unattached
strings and the listener works out which value belongs to which term. dt and dd say it outright.
Basic
Every row runs the same grid, so two pairs stay aligned however long either value is, and two pages showing the same record line up with each other.
- Name
- Articles
- Fields
- 12
- Created
- 4 March 2026
- Owner
- platform@example.com
Stacked
stacked puts the value under its term, for a narrow column or for values long enough that
a three-column grid leaves the terms stranded. A long value always wraps and is never truncated: a clipped
identifier cannot be read out, cannot be selected and cannot be copied, and an id or a key is exactly
what a detail page is opened for. An unbroken token breaks across lines rather than pushing the page
sideways.
- Endpoint
- POST /api/v1/content/articles
- Request id
- 01JQ8Z4M7X2VD9N3KTB6RSPFEW
- User agent
- Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 Chrome/141
A value that is not text
detail is a snippet rendered in place of value. Keep value set anyway: it is the pair's plain-text reading, and the snippet is the presentation of it.
- Status
- Active
- API key
lyeve_live_0000000000000000000000000- Created
- 4 March 2026
Inside a panel
A record on a detail page is a labeled group, so it usually sits in a Panel rather than carrying its own heading.
Schema
Read from the tenant this key belongs to.
- Name
- Articles
- Fields
- 12
- Created
- 4 March 2026
- Owner
- platform@example.com
API
| Prop | Type | Default | Description |
|---|---|---|---|
items required | Item[] | no default | The pairs, in reading order. |
layout | 'inline' | 'stacked' | 'inline' | inline puts the term and value on one row, stacked puts the value under it. |
class | string | no default | Extra classes on the dl. |
Item
| Prop | Type | Default | Description |
|---|---|---|---|
term required | string | no default | The label, and the pair's identity: rows are keyed by it. |
value required | string | no default | The value as text. Rendered unless a detail snippet replaces it. |
detail | Snippet | no default | Rendered instead of value, for a badge, a link or a copyable token. |