Appearance
The SVGIcon provides various styling options that are related to its appearance.
Kendo UI Icons version
^5.x.xrequires Kendo UI for Angularv24.0.0or later. For more information, refer to the Icon Package Compatibility section.
Theme Color
In terms of the current theme, you can apply predefined theme colors to the SVGIcon by using the themeColor property. To apply custom colors to the SVGIcon, style it with CSS.
The following example demonstrates the available themeColor values and custom color options.
Size
You can apply predefined size options to the SVGIcon by using the size property. To apply custom sizes to the SVGIcon, style it with CSS.
The following example demonstrates the available size values and custom size options.
Orientation
The SVGIcon allows you to invert it through an axis in different directions by using the flip property.
The following example demonstrates the available flip values.
Variant
Using the
variantproperty requires@progress/kendo-svg-iconsversion5.0.0or later, as icon variant data is only available starting from that version.
You can render the SVGIcon component in different visual styles by using the variant property. The available values are solid, outline, and duotone.
When a variant is specified, the component uses the variants property of the SVGIcon object to render the corresponding path. If the requested variant is not present on the icon, the component falls back to the default content path.
The following example demonstrates the available variant values.