Text
The Text component allows you to control font size, weight, alignment and colour.
#
Usage ExampleLive Editor
Result
#
PropsProp | Type | Default | Description |
---|---|---|---|
fontSize | integer (optional) | 2 | |
fontWeight | integer (optional) | 2 | |
lineHeight | string (optional) | 'copy' | |
theme | object (optional) |
Text uses COMMON, TYPOGRAHY groups of Styed System props.