On this page

Text

Use text as a wrapper component that will apply typography styles to the text inside.
  • Alpha
  • Reviewed for accessibility
On this page

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

Examples

Props

Text

NameTypeDefaultDescription
as
React.ElementType
'span'

The underlying element to render — either a HTML element name or a React component.

sx
SystemStyleObject