Text

Useful for rendering any form of text.

children

ReactNode

The content of the text

variant

string

Determines the styling of the text

Examples

Rendering variants as other elements

Sometimes you want the styling of an h1, but you want to render it as a p or span. You can do this by passing the as prop.

Sidebar

Fake Article