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
This documentation is moving to a new home. Please update any link or bookmark that points to this page. The new content can be found here.

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