icon Advanced
An icon rendered from an imported icon font class name. Use `small` or `large` to control size.
Live example Open in editor ↗
Modifiers
| Modifier | Effect |
|---|---|
small | 12px placeholder box |
large | 24px placeholder box |
Children
This is a leaf component — it does not accept children.
Notes
Default size is a 16px box. Requires a matching `import` declaration at the top of the file for the icon font to render correctly.