Data
DescriptionList
Facts about one thing as labels and values — an order, a profile — in a real <dl>, in columns that fold into one when the list is narrow.
WAI-ARIA tested
Import
main.ts
import { DescriptionList } from '@vitral/vue';Columns
The columns answer to the list's own width, not the window's: in a narrow panel they fold into one.
Profile
- Full name
- Ana Souza
- Role
- Product designer
- ana@example.com
- Phone
- —
- About
- Leads the design system and the research behind the checkout.
Bordered
Each fact in a cell of one block, with a value drawn from a slot and an action beside the title.
Order details
- Order
- #1042
- Status
- Shipped
- Placed
- 14 Sep 2026
- Total
- $ 318.00
- Ship to
- Rua das Flores 120, São Paulo
Label beside the value
- Plan
- Team, billed yearly
- Seats
- 12 of 15 used
- Renews
- 1 March 2027
- Payment
- Visa ending 4242
API
Read from packages/vue/src/components/DescriptionList/types.ts, so it says what the component actually accepts.
Props
| Name | Type | Description |
|---|---|---|
| items | DescriptionListItem[] | — |
| title | string | — |
| columns | number | Side by side on a wide list; they fold into one when the list is narrow. Defaults to 1. |
| layout | 'vertical' | 'horizontal' | Label above its value (the default), or beside it. |
| bordered | boolean | Every item in a cell of one bordered block. |
| striped | boolean | — |
| size | Size | — |
| emptyValue | string | Shown for an item with no value. Defaults to an em dash. |
| labelWidth | string | The width of the labels in the horizontal layout. |
| headingLevel | 1 | 2 | 3 | 4 | 5 | 6 | Make the title a heading of this level. |
Plus pt, dt and unstyled from BaseProps, see pass-through and unstyled mode.
Slots
| Name | Slot props | Description |
|---|---|---|
| title | — | — |
| extra | — | Beside the title: an edit button. |
| label | (context: { item: DescriptionListItem; index: number }) | — |
| value | (context: { item: DescriptionListItem; index: number }) | — |