Heading
Page and section title
import { Heading } from '@ensdomains/thorin'
<Heading>Hello World</Heading>
name | type | default |
---|---|---|
ref | Ref<HTMLDivElement> | - |
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.
Use the responsive flag to resize the heading based on breakpoints.