# Icons

The ExpansionPanel provides options for customizing its icon indicators by enabling you to display an [SVG icon](https://www.telerik.com/kendo-angular-ui-develop/components/layout/expansionpanel/icons#displaying-svg-icons) or a [Font icon](https://www.telerik.com/kendo-angular-ui-develop/components/layout/expansionpanel/icons#displaying-font-icons).

> As of R2 2023 (`v13.0.0`) the default icon type in the Kendo UI for Angular components and Kendo UI themes is changed from `font` to `svg`. Set the `svgIcon` property, or [Continue Using Font Icons](https://www.telerik.com/kendo-angular-ui-develop/components/styling/migrating-font-svg#continue-using-font-icons).

## Displaying SVG Icons

To display an SVG icon inside the ExpansionPanel set the [`svgExpandIcon`](https://www.telerik.com/kendo-angular-ui-develop/components/layout/api/expansionpanelcomponent#svgexpandicon) and [`svgCollapseIcon`](https://www.telerik.com/kendo-angular-ui-develop/components/layout/api/expansionpanelcomponent#svgcollapseicon) properties of the ExpansionPanel to the necessary [`SVGIcon`](https://www.telerik.com/kendo-angular-ui-develop/components/icons/api/svgicon). For details, go to the [list of SVG icons supported by Kendo UI for Angular](https://www.telerik.com/kendo-angular-ui-develop/components/icons/svgicon/svgicon-list).

```html
<kendo-expansionpanel [svgExpandIcon]="arrowDown" [svgCollapseIcon]="arrowUp"></kendo-expansionpanel>
```

```ts
import { arrowDownIcon, arrowUpIcon, SVGIcon } from "@progress/kendo-svg-icons";
public arrowDown: SVGIcon = arrowDownIcon;
public arrowUp: SVGIcon = arrowUpIcon;
```

The following example demonstrates how to set the `svgExpandIcon` and `svgCollapseIcon` properties of the Expansion Panel.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/layout/expansionpanel/svgicon/source.txt)

## Displaying Font Icons

To display a font icon inside the ExpansionPanel:

1. Use the [`ICON_SETTINGS`](https://www.telerik.com/kendo-angular-ui-develop/components/icons/api/icon_settings) token of the Icons package and set the icon type to `font`. For more information, go to the topic about [icon settings](https://www.telerik.com/kendo-angular-ui-develop/components/icons/icon-settings).
2. You can replace both the **Expand** and **Collapse** icons with custom font icons by using the [`expandIcon`](https://www.telerik.com/kendo-angular-ui-develop/components/layout/api/expansionpanelcomponent#expandicon) and [`collapseIcon`](https://www.telerik.com/kendo-angular-ui-develop/components/layout/api/expansionpanelcomponent#collapseicon) properties. This approach is suitable when you use the [list of font icons supported by Kendo UI for Angular](https://www.telerik.com/kendo-angular-ui-develop/components/icons/icon/icon-list) or when you consume third-party icon libraries like [FontAwesome](https://fontawesome.com/).

   ```html
   <kendo-expansionpanel ... expandIcon="k-icon k-font-icon k-i-plus" collapseIcon="fa fa-minus"></kendo-expansionpanel>
   ```

The following example demonstrates how to customize the icon indicators of the ExpansionPanel.

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

## Suggested Links

* [API Reference of the ExpansionPanel](https://www.telerik.com/kendo-angular-ui-develop/components/layout/api/expansionpanelcomponent)
