HeadingPropsinterface
{
level?: "1" | "2" | "3" | "4" | "5" | "6" | 1 | 2 | 3 | 4 | 5 | 6;
}| Property | Type | |
|---|---|---|
.level | "1""2""3""4""5""6"123456 | Heading level ( 1–6) — sets the rendered <h1>–<h6> tag.Avoid overriding this in practice: pick the component that matches the level — <Title> (<h1>), Heading (<h2>), or <Subheading> (<h3>) — so the visual size and the document outline stay in step. |
Props shared by <Title>, Heading, and <Subheading> — colour, space, and typography variants plus a heading-level override.