Text
The Text component allows you to control font size, weight, alignment and colour.
Usage Example#
Live Editor
Result
Props#
| Prop | 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.