Show design guidelines
HTML React Angular
HTML React Angular
Use sprite attribute for better performance when using many icons.
HTML React Angular
name
size
| |
|---|
| Attribute | size |
| Type | 11 | 12 | 14 | 16 | 18 | 20 | 24 | string |
| Default | '' |
| Required | false |
| Description | Set of predefined sizing options. can accept any valid CSS value. if no value is provided, the icon will be sized to 1em/container font size |
sprite
| |
|---|
| Attribute | sprite |
| Type | boolean |
| Default | false |
| Required | false |
| Description | When true, uses the SVG sprite sheet instead of fetching individual SVGs. |
| This is more performant when using many icons as it avoids multiple HTTP requests. | |
src
| |
|---|
| Attribute | src |
| Type | string |
| Default | undefined |
| Required | false |
| Description | Set a custom path to an svg instad of using name |
variant
| |
|---|
| Attribute | variant |
| Type | "light" | "regular" | "solid" |
| Default | 'regular' |
| Required | false |
| Description | Weight of icon style |
There are no events available for this component
There are no public methods available for this component
There are no slots available for this component