Reference
Icon
The inkwell: a standard box that keeps any inline svg at its optical measure and in the text's own ink — the icon carries no pigment and no size of its own. Bring a glyph through `glyph` (a direct registry import), through `name` from the whitelisted registry, or bring your own; the well renders either.
Root
#Icon
| Prop | Type | Default | Description |
|---|---|---|---|
size | String | "inherit" | Size steps follow the surrounding font size; inherit is the default — one em of the text the icon sits in. |
label | String | undefined | The accessible name. Without it the icon is presentation-only and hidden from the accessibility tree. |
glyph | Object | undefined | A glyph from the registry, imported directly. Ignored when a default slot is given — an explicit glyph always wins. |
name | String | undefined | A registry name — only the whitelisted set the wrappers draw themselves. Ignored when glyph or a default slot is given. |