Skip to content

Component Heading

MeowLynxSea edited this page Jun 18, 2026 · 4 revisions

Heading

A semantic heading (h1h6).

use yororen_ui::headless::heading::{heading, HeadingLevel};

heading("page", HeadingLevel::H1, "Settings", cx).render(cx)

No builder methods — text and level are passed to the factory. .render(cx) returns Stateful<Div>. Typography from tokens.typography.*.

See also: Label, Text.

Clone this wiki locally