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.

NameTypeIs RequiredDefaultDescription
lineHeightstringoptionalnormalSets line height of font