SiIconComponent documentation¶
selector
si-icon
Input Properties¶
Name | Type | Default | Description |
---|---|---|---|
alt ¶ | TranslatableString | Alternative name or translation key for icon. Used for A11y. | |
color ¶ | string | Color class, see https://element.siemens.io/fundamentals/typography/#color-variants-classes | |
icon ¶ | string | Icon token, see https://element.siemens.io/icons/element | |
size ¶ | string | 'icon' | Text-size class for icon size, see https://element.siemens.io/fundamentals/typography/#type-styles-classes |
stackedColor ¶ | string | Color class, see https://element.siemens.io/fundamentals/icons/ | |
stackedIcon ¶ | string | Icon token, see https://element.siemens.io/fundamentals/icons/ |
Types Documentation¶
Represents a translatable string. This can either be a translation key, e.g. ACTIONS.EDIT that will be automatically translated when displayed on the UI or a pre-translated string, e.g. Edit . Equivalent to a normal string in usage and functionality. |
---|
Translatable import imported from @siemens/element-translate-ng |
---|
Except where otherwise noted, content on this site is licensed under MIT License.