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.
Properties
Section titled “Properties”importance?: 1 | 5 | 2 | 3 | 4 | 6
Section titled “importance?: 1 | 5 | 2 | 3 | 4 | 6”(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.