Icon
Basic usage
Variant: regular vs filled
regular
filled
regular
filled
regular
filled
Sizes
16
20
24
28
32
48
With other components
Using other icon sets
Props
| Prop | Type | Default | Description |
|---|---|---|---|
name | string | — | Icon name (e.g. "add", "settings"). Prefix with collection: for other icon sets (e.g. "mdi:home"). |
variant | 'regular' | 'filled' | 'regular' | Icon style variant. |
size | number | 20 | Icon width/height in pixels. |
Theming
The icon inherits its color from --fui-color-neutral-foreground-1 by default and adapts to light/dark mode automatically. Override via CSS:
vue
<FuiIcon name="add" style="color: var(--fui-color-brand-foreground-1)" />Icon naming
Fluent UI System Icons follow the pattern {name}-{size}-{variant}. The component auto-resolves:
| Shorthand | Resolves to |
|---|---|
name="add" | fluent:add-20-regular |
name="add" variant="filled" | fluent:add-20-filled |
name="star" variant="filled" :size="24" | fluent:star-24-filled |
Browse all available Fluent icons on Icônes or the Fluent UI System Icons list.
Accessibility
Icons are hidden from assistive technology by default (aria-hidden="true"). If the icon conveys meaningful information, provide an accessible label:
vue
<FuiIcon name="settings" aria-label="Settings" aria-hidden="false" />