Icon
The icon component renders Material Symbols names directly, making it easy to reuse the same icon tokens across the library and docs.
settingsAnatomy
| Element | Part | Selector |
|---|---|---|
<span> | root | [data-scope="icon"][data-part="root"]LMBCopy |
Props
| Name | Description | Default | Control |
|---|---|---|---|
nameRequired | The name of the Material Symbols Outlined icon to display. string | - | |
sizeOptional | The size of the Icon. Accepts any valid CSS font-size value, such as "24px", "1.5em". string | undefined | - | |
weightOptional | The font-weight of the Icon IconWeight | undefined | - | - |
variantOptional | Variant of the Icon. "standalone" (default) means the Icon will use the default weight of 400 if weight is not specified. "inline" means the Icon will inherit the font-weight from its context if weight is not specified. standaloneinline | "standalone" |
Events0
No events documented.
Slots0
No slots documented.
Examples
Default
Inline variant that follows font weight