Skip to content

SvgIconStyleProps

Defined in: types.ts:19

Style-related props of <SvgIcon> component

optional color: string

Defined in: types.ts:40

Icon color.

Should be a valid CSS color value or a variable, i.e. #ff0000, red, var(--icon-color).

If undefined is passed, color won’t be changed.

undefined

optional colorTransition: string

Defined in: types.ts:49

Icon color transition. Should contain only timing and easing functions.

For example, if you want to set transition: color 0.3s ease-out;, you should pass only 0.3s ease-out.

"0.3s linear"

optional size: string

Defined in: types.ts:29

Icon size.

Should be a valid CSS unit value or a variable, i.e. 10px, 0.1em, var(--icon-size).

If undefined is passed, size won’t be changed.

undefined