import { Heading } from "@nodus/design-system"Loading demo…
Props
| Prop | Type | Default | Description |
|---|---|---|---|
level | 1 | 2 | 3 | 4 | 5 | 6 | 2 | Heading level (renders h1–h6) |
color | string | — | Text color override |
trim | boolean | — | Set line-height to 1 for tight layout |
levelType
1 | 2 | 3 | 4 | 5 | 6Default 2Heading level (renders h1–h6)
colorType
stringDefault —Text color override
trimType
booleanDefault —Set line-height to 1 for tight layout
MobileWorks As-Is
Headings reflow naturally. Use fluid type scale (clamp) for display-size headings to prevent overflow on narrow screens.
Design Rationale
This component was designed to express:
Explore Related
Was this helpful?