-
Notifications
You must be signed in to change notification settings - Fork 9
Component Label
MeowLynxSea edited this page Jun 18, 2026
·
6 revisions
A single line of text with style flags.
use yororen_ui::headless::label::label;
label("email", "Email", cx).strong(true).render(cx)| Method | Purpose |
|---|---|
muted(v) |
Secondary text color. |
strong(v) |
Bold weight. |
mono(v) |
Monospace font. |
ellipsis(v) |
Truncate with … on overflow. |
wrap() |
Allow wrapping onto multiple lines. |
max_lines(n) |
Cap to n lines when wrapping. |
inherit_color(v) |
Inherit parent text color instead of the renderer default. |
Text is set at construction. .render(cx) returns Stateful<Div>.
Yororen UI v0.3.0 · repository · Apache-2.0 · This wiki documents Yororen UI v0.3.0.
This wiki documents Yororen UI v0.3.0 — the headless-core, swappable-renderer build.