Skip to content

Heading

Page and section title
import { Heading } from '@ensdomains/thorin'
<Heading>Hello World</Heading>

Props
#

name
type
default
ref
Ref<HTMLDivElement>
-

Levels
#

By default, the semantic heading level matches the visual heading level, e.g. <Heading level="2"> will render an h2 element. If you need the semantics to be different from the visuals, you can provide the desired HTML tag via the as prop.

Align
#

Color
#

Responsive
#

Use the responsive flag to resize the heading based on breakpoints.

Edit on GitHub