Headings are used to display titles and subtitles with semantic HTML heading elements.
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
React
- Six different heading levels (h1-h6)
- Each heading level has appropriate styling out of the box
- Preserves semantic meaning with proper HTML tags
- Customizable with className and style props
A component for displaying headings with different levels (h1-h6) and customizable styling.
| Prop | Type | Default |
|---|---|---|
as | enum | h1 |
children | ReactNode | -- |
className | string | '' |
customRootClass | string | '' |