List

Styled unordered or ordered list with ListItem

Category: display · WCAG 2.2-AA · typography, list, ul, ol

Variants

Props

PropTypeDefaultDescription
as'ul' | 'ol'ulThe HTML element to render as.
marker'disc' | 'decimal' | 'none'derived from as (ul→disc, ol→decimal)List marker style ('disc' | 'decimal' | 'none').

Design tokens

When to use

When not to use

How to build an accessible List in React →

Examples

Unordered

<List><ListItem>Tokens</ListItem><ListItem>Themes</ListItem></List>

Ordered

<List as="ol"><ListItem>Init</ListItem><ListItem>Add</ListItem></List>

Unmarked

Keeps list semantics without visual markers

<List marker="none"><ListItem>Clean row</ListItem></List>

Related components

← Back to docs