Skip to content
Components

List

A set of text objects in a bulleted or numbered format.

First, import the components.

import {List, ListItem} from '@pleo-io/telescope'

Then use them, like so.

The component accepts the following props.

PropTypeDefault
as
'ol' | 'ul'
ul
listStyle
enum
none
This component doesn't accept any custom props.

PropTypeDefault
color
string
`tokens.colorContentStatic`
size
enum
14
This component also accepts the following styled system props:
PropTypeDefault
m
enum
margin
enum
marginBottom
enum
marginLeft
enum
marginRight
enum
marginTop
enum
marginX
enum
marginY
enum
mb
enum
ml
enum
mr
enum
mt
enum
mx
enum
my
enum