DataList
Display label-value pairs as a description list
Source
LLM docs
Docs
Package
Usage
DataList component renders a description list (dl) element with label-value pairs.
It uses semantic dt and dd HTML elements.
- Name
- John Doe
- john@example.com
- Role
- Software Engineer
- Location
- San Francisco, CA
Size
Orientation
With divider
Set withDivider prop to add a border between items:
- Name
- John Doe
- john@example.com
- Role
- Software Engineer
Vertical orientation
Set orientation="vertical" to stack label on top of value within each item:
- Name
- John Doe
- john@example.com
- Role
- Software Engineer