Displays metadata as a list of key-value pairs.
The Data List component is made up of Root, Item, Label, and Data parts. View source
Lists Item parts and controls the orientation.
This component is based on the dl
element and supports common margin props m
, mx
, my
, ml
, mr
, mt
, mb
.
Groups Label and Data parts, and controls the vertical alignment between them.
This component is based on the div
element.
By default, the Label and Data are baseline-aligned.
Use the align
prop on the Item part to set a different alignment style. You can change it across breakpoints using the object syntax.
Use the orientation
prop to control how Label and Data are arranged.
You can change the orientation
value across breakpoints using the object syntax.