Overview
Reference usage
Inspector groups the properties of one record as quiet rows, for a detail page. Each InspectorRow is a muted label in a fixed 140px column, the value in the default text colour, and a trailing affordance; an editable row becomes an editor when it is activated, and a read-only row draws no affordance, so the two never look the same. When the inspector's own box is 700px or wider the group is one tinted surface with separators inset to the text. Narrower, the group reads as a grouped list on the raised surface a GroupedList uses, and below 23rem each label stacks above its value. Every row is at least 44px tall.
Usage
Right rail and phone layout
The inspector is its own inline-size container, so it follows its own width, not the viewport's. Below 700px of that width the group sits on the raised surface of a grouped list, and below 23rem (368px), too narrow for the 140px label and a readable value beside it, the label of each row stacks above its value, as a DescriptionList term does. So the same markup is the properties section of a phone page, a 20rem right rail reads the same way, and a wider rail keeps each value on its label's line. Give it a header to name the group.
Details
- Title
- Status
- Due
- Notify
- Created
- Nov 10, 2026
When to use
- Showing the properties of one record on a detail page: one tinted rail when its box is wide, a grouped section when narrow.
- Letting a person change a property in place instead of through a stack of always-editable fields.
- Showing read-only facts with no editing at all — use description-list.
- Editing many fields at once and saving them together — use a form with form-field.
Examples
Editable and read-only rows
Each editable row shows a trailing affordance and becomes a text, select, date or toggle editor when activated; the read-only row has none.
Props
Name | Type | Default | Description |
|---|---|---|---|
header | text | A header drawn above the group, outside its surface, in small muted text. It also names the group. | |
children | snippet | The rows: InspectorRow elements. |