The List component renders a list of items. Each item in List will be wrapped in <li> tags. A list can be styled as inline, ordered, or unordered with the variant prop.
Props
Variants
By default, lists will be configured as vertically stacked list items without bullets. To customize the styling, use the variant prop, as shown below.
To create a bulleted unordered list:
To create a numbered list without styling:
To create a numbered list with styling:
To stack list items horizontally:
To stack list items horizontally with a divider between each item:
Last modified on March 29, 2026