<heading>
The <heading>
component semantically represents section titles or screen-level headings. It maps to <h1>
through <h6>
depending on hierarchy.
<heading>
component semantically represents section titles or screen-level headings. It maps to <h1>
through <h6>
depending on hierarchy.π Attributes
Attribute
Type
Required
Description
level
int
Yes
Heading level (1β6)
textStyle
string
No
Typography style to apply
align
string
No
left
, center
, or right
β
Allowed Content
Plain text or binding.
π‘ Examples
Top-level heading
<heading level="1">Welcome</heading>
π§© AI Interpretation Guidelines
Render as
<h1>
β<h6>
based onlevel
.Apply style tokens or classes based on
textStyle
.Respect semantic document hierarchy.
Last updated