Skip to content

SiIconComponent documentation

selector
si-icon

Input Properties

NameTypeDefaultDescription
alt
TranslatableStringAlternative name or translation key for icon. Used for A11y.
color
stringColor class, see https://element.siemens.io/fundamentals/typography/#color-variants-classes
icon
stringIcon 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
stringColor class, see https://element.siemens.io/fundamentals/icons/
stackedIcon
stringIcon 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

Except where otherwise noted, content on this site is licensed under MIT License.