# Appearance

The Icon provides various styling options that are related to its appearance.

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

## Theme Color

In terms of the current theme, you can apply predefined theme colors to the Icon by using the [`themeColor`](https://www.telerik.com/kendo-angular-ui-develop/components/icons/api/iconthemecolor) property. To apply custom colors to the Icon, style it with CSS.

The following example demonstrates the available `themeColor` values and custom color options.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/icons/icon/appearance/theme-color/source.txt)

## Size

You can apply predefined size options to the Icon by using the [`size`](https://www.telerik.com/kendo-angular-ui-develop/components/icons/api/iconsize) property. To apply custom sizes to the Icon, style it with CSS.

The following example demonstrates the available `size` values and custom size options.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/icons/icon/appearance/size/source.txt)

## Orientation

The Icon allows you to invert it through an axis in different directions by using the [`flip`](https://www.telerik.com/kendo-angular-ui-develop/components/icons/api/iconflip) property.

The following example demonstrates the available `flip` values.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/icons/icon/appearance/flip/source.txt)

## Runtime Customization

Use CSS custom properties to customize font icon size and rotation at runtime. Apply the variables to the `kendo-icon` element or `.k-font-icon` CSS class. To limit styles to one UI area, combine a container selector with an icon selector. For the complete reference, see the [font icon runtime customization documentation](https://www.telerik.com/design-system/docs/foundation/iconography/font-icons/#runtime-customization).

### Icon Variables

Use the following CSS variables to customize font icons:

| CSS variable               | Description                               |
| -------------------------- | ----------------------------------------- |
| `--kendo-icon-size`        | Sets the base icon size globally.         |
| `--kendo-icon-size-{size}` | Sets the size for a predefined icon size. |
| `--kendo-icon-rotation`    | Sets the rotation angle of an icon.       |

Set `--kendo-icon-size` on `:root` to change the base size globally. To set the size of one icon or one UI area, use the matching size-specific variable. For example, default icons use `--kendo-icon-size-md`, and icons with `size="large"` use `--kendo-icon-size-lg`.

> note Depending on your theme configuration and stylesheet load order, you might need to add `!important` to the global `--kendo-icon-size` declaration to override the theme value.

Use the following CSS to customize font icons in either a global or component stylesheet:

```css
kendo-icon {
    --kendo-icon-size-md: 24px;
    --kendo-icon-rotation: 45deg;
}
```

### Scoped Icon Styles

To customize font icons in one area of your application, combine a container selector with the `kendo-icon` selector. This overrides the variables that the icon defines by default.

The following CSS applies a consistent size to font icons in a toolbar:

```css
.toolbar-actions kendo-icon {
    --kendo-icon-size-md: 20px;
}
```

### Hover Color

To change the color of a font icon when a user hovers over it, set its `color` CSS property. Target either the `kendo-icon` element or the `.k-font-icon` CSS class.

The following CSS targets the font icon element and applies a custom hover color:

```css
kendo-icon:hover {
    color: #ff6358;
}
```

> note The `themeColor` property applies an important color utility. When you set `themeColor`, add `!important` to the hover color declaration to override it.

## Suggested Links

* [API Reference of the Icon](https://www.telerik.com/kendo-angular-ui-develop/components/icons/api/iconcomponent)
* [Icon Settings](https://www.telerik.com/kendo-angular-ui-develop/components/icons/icon-settings)
* [Icon List](https://www.telerik.com/kendo-angular-ui-develop/components/icons/icon/icon-list)
* [Creating Custom Styles with ThemeBuilder](https://www.telerik.com/kendo-angular-ui-develop/components/styling/theme-builder)
