Text

The Text component is used to render text in an interface.

Guidelines

These guidelines are an example of how importing MDX works. Components like Text are supported as well for things like overriding inline text.

API Reference

TextVariants

Type

"mark" | "heading1" | "heading2" | "heading3" | "body1" | "body2"

TextProps

Properties

PropertyType
className?string
childrenReactNode
variant?"mark" | "heading1" | "heading2" | "heading3" | "body1" | "body2"
alignment?"center" | "start" | "end"
width?string | number
lineHeight?string
color?string

Text

Properties

TextProps