Skip to content

Spacer

<Spacer />

For the complete list of props, use your IDE’s autocomplete functionality.

<Spacer size='s' />

px (default)

xs

s

m

<Spacer
size='m'
border
/>
<Spacer
icon={emptyRect}
/>
<Spacer
icon={emptyRect}
border
/>
<Spacer
text='This is a label'
/>
<Spacer
text='This is a label'
border
/>
<Spacer
text='This is a label'
subtitle='Subtitle'
/>
<Spacer
text='This is a label'
subtitle='Subtitle'
border
/>
<Spacer
icon={emptyRect}
text='This is a label'
subtitle='Subtitle'
border
/>