---
title: Detail list
description: Label and value rows for a resource summary.
---

<Component path="detail-list/basic" />

## Densities

- `default` has a border and dividers. Use it on a page.
- `compact` has a border and tight rows without dividers. Use it for a short summary in a card.
- `flush` has no frame and no horizontal padding. Use it inside a container that already sets the padding.
- `inset` is for full-bleed rows in a panel. See [Inset in a panel section](#inset-in-a-panel-section). The demo below leaves it out.

<Component path="detail-list/densities" />

## Examples

### Inset in a panel section

`inset` has no frame and spans the full width of its container. Rows have the same horizontal padding as a slide panel, so dividers reach both edges. Use it inside a slide panel or a dialog body that has no horizontal padding.

The list has dividers between rows but no top border. If the list follows a heading, add `border-t` to the list, as this example does.

<Component path="detail-list/inset" />
