Skip to content

Metadata List Item

@astryxdesign/core v0.7.1 · MetadataListItem

Props ​

PropTypeDefaultDescription
labelstring—The name of the field. Required. The default slot is the value.

Slots ​

  • default: the value. Any content works: a string, a badge, a link, or markup of your own.
  • icon: a leading icon drawn before the label.

The pair renders as a <dt> and a <dd>, or as one stacked block when the list puts labels above values. Either way the label is announced before the value.