Heading
Typography
Heading; level picks the tag (h2 when none is given).
Heading(content, level: …, align: …, muted: …)
Example
Heading("Pricing").h1
Heading("Frequently asked").h2
Renders with the class wf-heading, stable across releases, so a stylesheet may target it.
| Prop | Type | Meaning |
|---|---|---|
| content | Any (positional) |
The heading text |
| level: | .h1 .h2 .h3 .h4 .h5 .h6 |
Heading level: the tag, and its place in the outline |
| align: | .left .center .right |
Text alignment |
| muted: | Bool |
Dimmed, for secondary text |
Attribute families: global, aria, data. Plus the universal props on every element: animate:, exit:, speed:, class:, ref:.