Elements
Icon
Resolves a named icon to its component and renders it at a given size.
<UiIcon :icon="..." />Names resolve dynamically
Icons are resolved by name at render time (e.g. icon="caretRight" loads the CaretRight component) — a typo in the name fails silently instead of throwing an error.
Icon
requiredicon is the lowerCamelCase name of one of the 282 bundled icons. The full searchable list lives on the Icons page.
Icons are resolved dynamically by name at render time (icon="caretRight" → the CaretRight icon component) — a typo in the name fails silently rather than throwing.
Size
size is a named token, or an exact pixel value when the icon has to line up with something that isn't on the scale.
size accepts either a named token (xs/sm/md/lg) or a raw number of pixels.
API Reference
Generated from the component's source — props, slots and emits as the component actually declares them.