List a group of text-only content.
A list consists of two components:
List - wraps the list items (renders a ul or ol tag)ListItem - the individual list items (li tags)The components can be imported via:
Use the List component as the container, and place ListItem components as its children:
By default, the component will render an unordered (ul) list.
To render an ordered (ol) list instead, set the type prop to ordered:
To change the bullet or number style, use the styleType prop.
Supported values are:
nonedisccirclesquaredecimaldecimal-leading-zerolower-romanupper-romanTo change the gap between list items, use the gap prop, which accepts a space token value.
The text color. (See text color tokens)
The font family. (See font family tokens)
The font style. (See MDN font-style)
The text size. (See font size tokens)
The list-style-type
to apply to the list items.
A predefined typography style. (See text tokens)
PlumaListItem extends TextThe text color. (See text color tokens)
The font family. (See font family tokens)
The font style. (See MDN font-style)
The text size. (See font size tokens)
The list-style-type
to apply to the list items.
A predefined typography style. (See text tokens)