Text
The <Text />
component replaces <p>
or <div>
.
Uses Tailwind CSS font size scaling.
import { Text } from 'minerva-ui'
Preview
Text
Source
Text Font Sizes
Preview
Extra Small Text
Small Text
Medium Text
Large Text
Extra Large Text
2x Large Text
Source
Props
These are props related to the Text component.
Name | Type | Is Required | Default | Description |
---|---|---|---|---|
lineHeight | string | optional | normal | Sets line height of font |