Components
/
Typography
/
Text
<Text>default</Text>
<Text size="sm">small</Text>
<Text weight="medium">medium</Text>
<Text weight="bold">bold</Text>
<Text color="purple.500">color</Text>
<Text uppercase>uppercase</Text>

Props

Text

PropTypeDefaultDescription
align enuma value of `center`, `left` or `right`
color string'black.500'`color` from the theme
lineHeight union
size union'md'`fontSizes` from the theme
weight enum'medium'a value of `thin`, `extralight`, `light`, `regular`, `medium`, `semibold` , `bold`, `extrabold` or `black`
shadow string`shadows` from the theme
numberOfLines numberwill shorten text with an ellipsis
uppercase boolconverts all characters to uppercase