This component is used to render text in a variety of styles based on Soundstripe theme tokens. A single variant is shorthand for a set of typography-specific tokens.
styled-system other props
By default, the Text component renders at the md
size. One can use the default Text settings for most text elements.
We do have multiple variants for other situations.
Text size xl3
font-size: 2.5rem
line-height: 3rem
Text size xl2
font-size: 2rem
line-height: 2.75rem
Text size xl
font-size: 1.5rem
line-height: 2rem
Text size lg
font-size: 1.25rem
line-height: 1.75rem
Text size md
font-size: 1rem
line-height: 1.5rem
Text size sm
font-size: 0.875rem
line-height: 1.25rem
Text size xs
font-size: 0.75rem
line-height: 1rem