DataList
data-displayKey-value pair list using semantic dl/dt/dd elements with optional dividers and striped rows. Token-driven label width, colors, and spacing.
Import
typescript
import { DataList } from "packages/ui/src";Props
DataListProps
| Prop | Type | Required |
|---|---|---|
items | DataListItem[] | Yes |
dividers | boolean | No |
striped | boolean | No |
Examples
DataList
Key-value pair display for structured metadata and detail views.
Default
- Name
- Jonathan Gatlit
- [email protected]
- Role
- Platform Architect
- Status
- Active
- Projects
- 5
With Dividers
- Name
- Jonathan Gatlit
- [email protected]
- Role
- Platform Architect
- Status
- Active
- Projects
- 5
Striped
- Framework
- Next.js 15
- Components
- 66
- Tokens
- 983
- Routes
- 68
- Drift Score
- 100 / 100
- Lighthouse
- P:97 A:95 BP:96 SEO:100
Dividers + Striped
- Framework
- Next.js 15
- Components
- 66
- Tokens
- 983
- Routes
- 68
- Drift Score
- 100 / 100
- Lighthouse
- P:97 A:95 BP:96 SEO:100