Skip to content

Text

Use text as a wrapper component that will apply typography styles to the text inside.
  • Alpha
  • Not reviewed for accessibility

The Text component is a wrapper component that will apply typography styles to the text inside.

Default example

System props

Text components get TYPOGRAPHY and COMMON system props. Read our System Props doc page for a full list of available props.

Component props

NameTypeDefaultDescription
asStringspanSets the HTML tag for the component