{"@context":"https://schema.org","@graph":[{"@type":"TechArticle","headline":"Description List","description":"A semantic HTML component for displaying key-value pairs, perfect for structured data like product details or definitions. It can be used with headings and cards.","url":"https://intentui.com/docs/components/surfaces/description-list","author":{"@type":"Person","name":"Irsyad","url":"https://x.com/irsyad"},"publisher":{"@type":"Organization","name":"Intent UI","url":"https://intentui.com","logo":{"@type":"ImageObject","url":"https://intentui.com/icon.svg"}},"mainEntityOfPage":{"@type":"WebPage","@id":"https://intentui.com/docs/components/surfaces/description-list"}},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://intentui.com"},{"@type":"ListItem","position":2,"name":"Docs","item":"https://intentui.com/docs"},{"@type":"ListItem","position":3,"name":"Components","item":"https://intentui.com/docs/components"},{"@type":"ListItem","position":4,"name":"Surfaces","item":"https://intentui.com/docs/components/surfaces"},{"@type":"ListItem","position":5,"name":"Description List","item":"https://intentui.com/docs/components/surfaces/description-list"}]}]}
Surfaces
Description List
A semantic HTML component for displaying key-value pairs, perfect for structured data like product details or definitions. It can be used with headings and cards.
A description list is typically used to display pairs of terms and details, like in invoices or product specifications, enhancing clarity and organization of information.
Loading...
Installation
Install the component via the CLI in one command.
npm
pnpm
yarn
bun
npx shadcn@latest add @intentui/description-list
Anatomy
import { DescriptionDetails, DescriptionList, DescriptionTerm } from "@/components/ui/description-list"