Headings are used to display titles and subtitles with semantic HTML heading elements.
import Heading from "@radui/ui/Heading"- 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 | '' |