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.
Default:'div'
What element or component should be rendered.
The margin to apply between list items. Also takes an object keyed by
breakpoint, like { base: '100', md: '200' }.
The list-style-type
to apply to the list items.
PlumaListItem extends TextDefault:'li'
What element or component should be rendered.
Space above the item, instead of the list's gap. Also takes an object
keyed by breakpoint, like { base: '100', md: '200' }.