Icon
Sprite mode
Section titled “Sprite mode”Use sprite attribute for better performance when using many icons.
certara-icon
Section titled “certara-icon”Renders a Font Awesome icon by name from the bundled SVG sprites, or an arbitrary SVG fetched from src.
Properties
Section titled “Properties”name
| Attribute | name |
| Type | string |
| Default | undefined |
| Required | false |
| Description | Name of icon as defined by Font Awesome at https://fontawesome.com/search |
size
| Attribute | size |
| Type | 11 | 12 | 14 | 16 | 18 | 20 | 24 | string |
| Default | '' |
| Required | false |
| Description | Set of predefined sizing options, but can accept any valid CSS value |
sprite
| Attribute | sprite |
| Type | boolean |
| Default | false |
| Required | false |
| Description | Use sprite sheet for icons (deprecated, kept for backwards compatibility) |
src
| Attribute | src |
| Type | string |
| Default | undefined |
| Required | false |
| Description | Set a custom path to an SVG instead of using name |
variant
| Attribute | variant |
| Type | "light" | "regular" | "solid" |
| Default | 'regular' |
| Required | false |
| Description | Weight of icon style |
Events
Section titled “Events”There are no events available for this component
Methods
Section titled “Methods”There are no public methods available for this component
There are no slots available for this component