Skip to content

Heading

stable

Semantic heading element with display and size variants

Typography/Storybook ↗
import { Heading } from "@nodus/design-system"
Loading demo…

Props

level
Type 1 | 2 | 3 | 4 | 5 | 6Default 2

Heading level (renders h1–h6)

color
Type stringDefault

Text color override

trim
Type booleanDefault

Set line-height to 1 for tight layout

Metadata123456type
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?