Heading
Use the Heading to render semantic HTML heading elements (h1, h2, etc.).
The component allows you to independently define both the visual and the
semantic level of the heading.
HeadingProps
extends
, , , , | Name | Type | Default | Description |
|---|---|---|---|
level? | 1 | 2 | 3 | 4 | 5 | 6 | 1 | The visual level of the heading. |
as? | | | | | | | 'h1' | The polymorphed HTML tag that determines the semantic level of the heading. |