# Appearance

The SvgIcon component provides many predefined appearance options such as different sizes, theme colors and flipping.

> Kendo UI Icons version `^5.x.x` requires KendoReact `v15.0.0` or later. For more information, refer to the [Icon Package Compatibility](https://www.telerik.com/kendo-react-ui/components/styling/icons#icon-package-compatibility) section.

## Theme Color

SVG icons can be colored in terms of the current theme using the [`themeColor`](https://www.telerik.com/kendo-react-ui/components/common/api/iconthemecolor) property. The available values are:

* `inherit` (Default)—Applies coloring based on the current color.
* `primary`—Applies coloring based on primary theme color.
* `secondary`—Applies coloring based on secondary theme color.
* `tertiary`—Applies coloring based on tertiary theme color.
* `info`—Applies coloring based on info theme color.
* `success`—Applies coloring based on success theme color.
* `warning`—Applies coloring based on warning theme color.
* `error`—Applies coloring based on error theme color.
* `inverse`—Applies coloring based on inverse theme color.

> The SvgIcon allows you to use predefined theme colors through the `themeColor` property. Any custom color could by applied via [`style`](https://www.telerik.com/kendo-react-ui/components/common/api/svgiconprops#style) property.

[Demo Source](https://demos.telerik.com/kendo-react-ui/common/svg-icon/theme-color/func/source.txt)

## Size

The Icon allows you to specify its [`size`](https://www.telerik.com/kendo-react-ui/components/common/api/iconsize). The available values are:

* `default` (Default)—Font-size: 16px; Width: 16px; Height: 16px.
* `xsmall`—Font-size: 12px; Width: 12px; Height: 12px.
* `small`—Font-size: 14px; Width: 14px; Height: 14px.
* `medium`—Font-size: 16px; Width: 16px; Height: 16px.
* `large`—Font-size: 20px; Width: 20px; Height: 20px.
* `xlarge`—Font-size: 24px; Width: 24px; Height: 24px.
* `xxlarge`—Font-size: 32px; Width: 32px; Height: 32px.
* `xxxlarge`—Font-size: 48px; Width: 48px; Height: 48px.

> The SvgIcon allows you to use predefined sizes through the `size` property. Any custom size could by applied via [`style`](https://www.telerik.com/kendo-react-ui/components/common/api/svgiconprops#style) property.

[Demo Source](https://demos.telerik.com/kendo-react-ui/common/svg-icon/size/func/source.txt)

## Flip

The SvgIcon allows you to invert it through an axis in different directions by using the [`flip`](https://www.telerik.com/kendo-react-ui/components/common/api/iconflip) property. The available values are:

* `default` (Default)—No flipping applied.
* `horizontal`—Flips the icon in horizontal direction.
* `vertical`—Flips the icon in vertical direction.
* `both`—Flips the icon in both horizontal and vertical directions.

[Demo Source](https://demos.telerik.com/kendo-react-ui/common/svg-icon/flip/func/source.txt)

## Variant

> Using the `variant` property requires `@progress/kendo-svg-icons` version `5.0.0` or 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`](https://www.telerik.com/kendo-react-ui/components/common/api/svgiconprops) 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.

[Demo Source](https://demos.telerik.com/kendo-react-ui/common/svg-icon/variant/func/source.txt)

## Suggested Links

* [API Reference of the SvgIcon](https://www.telerik.com/kendo-react-ui/components/common/api/svgicon)
* [API Reference of the SvgIconProps](https://www.telerik.com/kendo-react-ui/components/common/api/svgiconprops)
* [Creating Custom Styles](https://www.telerik.com/kendo-react-ui/components/styling/theme-builder)
