Skip to main content

Text

The Text component allows you to control font size, weight, alignment and colour.

Usage Example#

Live Editor
Result

Props#

PropTypeDefaultDescription
fontSizeinteger (optional)2
fontWeightinteger (optional)2
lineHeightstring (optional)'copy'
themeobject (optional)

Text uses COMMON, TYPOGRAHY groups of Styed System props.