# SegmentedControl Icon Options

You can enhance the content of the SegmentedControl items by displaying SVG icons, font icons, or a combination of icons and text.

The SegmentedControl items support the following icon options:

* [`svgIcon`](https://www.telerik.com/kendo-angular-ui-develop/components/buttons/api/segmenteditemsettings#svgicon)—Displays an SVG icon. For available icons, refer to the [list of SVG icons](https://www.telerik.com/kendo-angular-ui-develop/components/icons/svgicon/svgicon-list).
* [`icon`](https://www.telerik.com/kendo-angular-ui-develop/components/buttons/api/segmenteditemsettings#icon)—Displays a font icon from the Kendo UI theme. For available icons, refer to the [list of font icons](https://www.telerik.com/kendo-angular-ui-develop/components/icons/icon/icon-list).

> 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).

The following example demonstrates icon and text items, as well as icon-only items with tooltips for accessibility.

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

## SVG Icons

To display an SVG icon inside a SegmentedControl item, set the [`svgIcon`](https://www.telerik.com/kendo-angular-ui-develop/components/buttons/api/segmenteditemsettings#svgicon) property to the necessary [`SVGIcon`](https://www.telerik.com/kendo-angular-ui-develop/components/icons/api/svgicon).

```ts
import { searchIcon } from '@progress/kendo-svg-icons';

public items = [{ text: 'Search', svgIcon: searchIcon }];
```

The following example demonstrates how to render SVG icons inside the SegmentedControl items.

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

## Font Icons

To display a Font icon inside the SegmentedControl item:

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#using-font-icons).
2. Set the [`icon`](https://www.telerik.com/kendo-angular-ui-develop/components/buttons/api/segmenteditemsettings#icon) property of the item to the name of a font icon.
   ```ts
   public items = [{ text: 'Search', icon: 'search' }];
   ```

The following example demonstrates how to render font icons inside the SegmentedControl items.

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

## End Icon

To display an icon after the SegmentedControl item text, use the following options:

* [`endSvgIcon`](https://www.telerik.com/kendo-angular-ui-develop/components/buttons/api/segmenteditemsettings#endsvgicon)—Sets an [`SVGIcon`](https://www.telerik.com/kendo-angular-ui-develop/components/icons/api/svgicon) after the item text.
* [`endIcon`](https://www.telerik.com/kendo-angular-ui-develop/components/buttons/api/segmenteditemsettings#endicon)—Sets a font icon from the Kendo UI theme after the item text. To render font icons, [set the icon type to `font`](https://www.telerik.com/kendo-angular-ui-develop/components/icons/icon-settings).

```html HTML
<kendo-segmented-control
    [items]="endIconItems">
</kendo-segmented-control>
```

```ts TS
import { SegmentedItemSettings } from '@progress/kendo-angular-buttons';
import { chevronRightIcon, searchIcon, sparklesIcon } from '@progress/kendo-svg-icons';

public endIconItems: SegmentedItemSettings[] = [
    { text: 'Search', endSvgIcon: searchIcon },
    { text: 'AI', endSvgIcon: sparklesIcon },
    { text: 'Next', endSvgIcon: chevronRightIcon }
];
```

You can also combine the end icon with a custom leading icon configured through the [`svgIcon`](https://www.telerik.com/kendo-angular-ui-develop/components/buttons/api/segmenteditemsettings#svgicon) or [`icon`](https://www.telerik.com/kendo-angular-ui-develop/components/buttons/api/segmenteditemsettings#icon) property.

The following example demonstrates how to display end icons on the SegmentedControl items by setting the `endSvgIcon` and `endIcon` properties.

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

## Suggested Links

* [SegmentedControl Appearance](https://www.telerik.com/kendo-angular-ui-develop/components/buttons/segmentedcontrol/appearance)
* [API Reference of the SegmentedControl](https://www.telerik.com/kendo-angular-ui-develop/components/buttons/api/segmentedcontrolcomponent)
* [API Reference of the SegmentedItemSettings](https://www.telerik.com/kendo-angular-ui-develop/components/buttons/api/segmenteditemsettings)
