Heading

The Heading component replaces <h1> <h2> <h3> <h4> tags.

Tag names are not associated with any specific tag size, since tag choices should be made based on hierarchy for SEO purposes.

import { Heading } from 'minerva-ui'
Preview

Heading

Source

Heading Font Sizes

Preview

2x Large Heading

Extra Large Heading

Large Heading

Medium Heading

Small Heading
Extra Small Heading
Source

Props

These are props related to the Heading component.

NameTypeIs RequiredDefaultDescription
fontSize'xs', 'sm', 'md', 'lg', 'xl', '2xl'optionalxlSets size of heading font