A description list consists of three components:
DescriptionList - wraps the description list (a dl tag)DescriptionListTerm - the term (a dt tag)DescriptionListDetails - the details (a dd tag)The components can be imported via:
Use the DescriptionList component as the container, and place DescriptionListTerm components and their DescriptionListDetails components inside:
The list can also be rendered in a horizontal layout by setting the layout prop to "horizontal":
Additionally, the terms can be right aligned (only in the horizontal layout), with
the termAlignment prop:
PlumaDescriptionList extends TextDefault:'dl'
What element or component should be rendered.
Default:'vertical'
Whether the description list should render in a vertical or horizontal layout.
Default:'vertical'
Whether the terms (titles) should be left or right aligned when in a horizontal layout.
PlumaDescriptionListDetails extends TextDefault:'dd'
What element or component should be rendered.
PlumaDescriptionListTerm extends TextDefault:'dt'
What element or component should be rendered.