# DescriptionList (@limerdev/zest) Names and their values, the detail view of a record: a `
`. Given `items` (`{ term, details }`), `` draws them. Composed, each `DescriptionList.Item` holds a `DescriptionList.Term` and its `DescriptionList.Details`, which can hold anything: a `Badge`, a link, a `Button`. `orientation`: terms beside the values in two aligned columns (`horizontal`, the default) or above them (`vertical`). - Category: Data display - Import: `import { DescriptionList } from '@limerdev/zest'` - Exports: `DescriptionList.Root`, `DescriptionList.Item`, `DescriptionList.Term`, `DescriptionList.Details` - Use for: The facts of one record: a customer's details, an invoice's status and dates, a user's settings summary. - Don't: Many records with the same fields: use `Table`. Values the user edits: use a form of `Field`s. ```svelte Customer Acme AB Status Paid ``` Props of `DescriptionList.Root`: - `items` (`DescriptionListEntry[]`, default `[]`): The names and values, drawn when the list has no children. - `orientation` (`"horizontal" | "vertical"`, default `'horizontal'`): Terms beside their values in two columns (`horizontal`), or above them (`vertical`, for a narrow space). Example: A record An invoice's facts: terms beside their values, which can be any content. ```svelte Customer Acme AB Status Paid Amount 48 200 kr Due 12 January 2027 ``` Example: Items vertical Given items, the list draws them; vertical puts each term above its value, for a narrow space. ```svelte ```