Import
Usage
Props
Semantic heading level. Defaults to
h2.Text variant from
theme.text. The default heading variant uses theme.text.heading.Theme-aware styles for custom heading appearance.
Inherited Props
Heading extends Box and accepts:- All standard HTML heading attributes
- Box spacing props (m, p, mx, my, px, py, etc.)
- Box color props (color, bg, opacity)
Default Styles
The Heading component includes these base styles:theme.fonts.heading, theme.fontWeights.heading, and theme.lineHeights.heading.
