Fidely UI v1 beta is now available!. 🚀

Heading

Used to render semantic HTML heading elements.

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Suscipit, ex?

Usage

import { Heading } from '@fidely-ui/react'
<Heading>Heading text.</Heading>

Examples

As another elements

By default, Fidely UI Heading renders as an h2 element.

Use the as prop to render it as another semantic element (e.g. h1, h3, or p).

As 1

As 2

As 3

As 4

As 5
As 6

Size

Use the size prop to adjust the visual size of the heading without changing its semantic tag. or pass textStyle

Heading 1 with (sm)

Heading with (md)

Heading with (lg)

Heading with (xl)

Heading with (2xl)

Heading with (3xl)

Heading with (4xl)

Heading with (5xl)

Heading with (6xl)

Heading with (7xl)

On this page