Text

The <Text /> component replaces <p> or <div>.

Uses Tailwind CSS font size scaling.

import { Text } from 'minerva-ui';

Text

Text Font Sizes

Extra Small Text

Small Text

Medium Text

Large Text

Extra Large Text

2x Large Text

Props

These are props related to the Text component.

NameTypeIs RequiredDefaultDescription
lineHeightstringoptionalnormalSets line height of font