Skip to content

Heading

Component | Source Code

extends ComponentPropsWithRef<“h1”>

Props Inheritance Hierarchy: ComponentPropsWithRef<“h1”>

Wraps the base heading elements and uses the appropriate element depending on the importance of the Heading.

(Optional, defaults to 3) The importance of the heading. This will be used to determine the appropriate heading element to use and should generally denote relative importance of the heading on the page.