List is used to display list items. It renders a <ul>
element by default.
Add icons to the list items by using the ListIcon
component. You can pass the
name of the icon or use custom icons. The size of the icon is relative to the
font size of the list item.
Name | Type | Default | Description |
---|---|---|---|
styleType | string | none | The CSS value for list-style-type |
stylePosition | string | inside | The CSS value for list-style-position |
spacing | StyledSystem.MarginBottomProps | The space between each list item |
ListItem composes Box so you can pass all style and pseudo style props.