Data List

Key–value pairs in a semantic description list, horizontal or stacked.

Name
Sophie Durand
Email
sophie@astralis.dev
Status
Active

Import#

import { DataList } from "astralis-ui";
// DataList.Item, DataList.Label, DataList.Value

Usage#

Values take any content — badges, avatars, links — while the underlying markup stays a real <dl>/<dt>/<dd> description list.

Vertical#

orientation="vertical" stacks each label above its value — better for narrow columns and cards.

Deployment region
eu-central-1 (Frankfurt)
Runtime
Node 22 on the edge

Props#

PropTypeDefaultDescription
orientation"horizontal" | "vertical""horizontal"Label beside or above the value.
size"sm" | "md" | "lg""md"Text and rhythm scale.

Item, Label and Value take only className — they're layout, the semantics come free.