@eds/icon
v5.0.0
Icon
Further clarifies the sentiment or intent of an action or element.Prop | Required | Description | Type |
---|---|---|---|
size | — | The size of the icon. Defaults to medium. | "xsmall" | "small" | "medium" | "large" |
color | — | The color of the icon. | "themePrimaryBase" | "themePrimary100" | "themePrimary200" | "themePrimary300" | "themePrimary400" | "themePrimary500" | "themePrimary600" | "themeAccentBase" | "themeAccent100" | "themeAccent200" | "themeAccent300" | "themeAccent400" | "themeAccent500" | "themeAccent600" | "neutralSubtle" | "neutralBold" | "neutralBoldInverted" | "neutralDisabled" | "positive" | "informative" | "caution" | "critical" |
className | — | The className prop can be used to add CSS classes to the icon. | string |