Label/value pairs for a record's detail view — the <dl> every show page
hand-rolls.
<.description_list>
<:item label="Created">Jan 4, 2026</:item>
<:item label="Host">Alex Smith</:item>
<:item label="Description" wide>Long free text…</:item>
</.description_list>
<.description_list layout="dense">
<:item label="Repo">enventory_new</:item>
<:item label="Status">{@status}</:item>
</.description_list>columns sets how many pairs sit side by side on a wide viewport; it always
collapses to one column on narrow screens. layout="inline" puts the label
beside its value instead of above it. layout="dense" is the inspector-rail
grid (label column + value).
Summary
Functions
Attributes
columns(:integer) - Pairs per row on wide viewports. Defaults to2. Must be one of1,2, or3.layout(:string) -stackedputs the label above the value;inlineputs it alongside;denseis the inspector rail. Defaults to"stacked". Must be one of"stacked","inline", or"dense".class(:any) - Extra classes merged onto the root element. Defaults tonil.- Global attributes are accepted. Arbitrary HTML attributes passed through.
Slots
item(required) - One label/value pair. Accepts attributes:label(:string) (required) - The pair's label.wide(:boolean) - Span every column — for long free text.class(:any) - Extra classes merged onto this pair.