# Button Icon Options

You can enhance the textual content of the Button by displaying SVG icons, font icons, or images.

The Button provides the following options to set an image or icon inside the component:

* [`svgIcon`](https://www.telerik.com/kendo-angular-ui-develop/components/buttons/api/buttoncomponent#svgicon)—Displays an SVG icon inside the Button. 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/buttoncomponent#icon)—Displays a font icon inside the Button. For available icons, refer to the [list of font icons](https://www.telerik.com/kendo-angular-ui-develop/components/icons/icon/icon-list).
* [`iconClass`](https://www.telerik.com/kendo-angular-ui-develop/components/buttons/api/buttoncomponent#iconclass)—Displays an icon from a CSS class, such as a [FontAwesome](https://fontawesome.com/) icon.
* [`imageUrl`](https://www.telerik.com/kendo-angular-ui-develop/components/buttons/api/buttoncomponent#imageurl)—Displays an image from a URL.
* [`endSvgIcon`](https://www.telerik.com/kendo-angular-ui-develop/components/buttons/api/buttoncomponent#endsvgicon) and [`endIcon`](https://www.telerik.com/kendo-angular-ui-develop/components/buttons/api/buttoncomponent#endicon)—Displays an SVG or font icon after the Button text.

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

## SVG Icons

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

```html example.component.html
<button kendoButton [svgIcon]="svgCart">Cart</button>
```

```ts example.component.ts
import { cartIcon, SVGIcon } from '@progress/kendo-svg-icons';

public svgCart: SVGIcon = cartIcon;
```

The following example demonstrates how to set an SVG icon inside the Button.

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

## Font Icons

To display a Font icon inside the Button:

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. Depending on the font icons library, you can set the:
   * [`icon`](https://www.telerik.com/kendo-angular-ui-develop/components/buttons/api/buttoncomponent#icon) property to a font icon in the Kendo UI theme.
     ```html
     <button kendoButton icon="calendar">Events</button>
     ```
   * [`iconClass`](https://www.telerik.com/kendo-angular-ui-develop/components/buttons/api/chipcomponent#iconclass) property to a third-party font icon library (such as [FontAwesome](https://fontawesome.com/)).
     ```html
     <button kendoButton iconClass="fa fa-taxi">Take a Taxi</button>
     ```

The following example demonstrates how to set the `icon` and `iconClass` properties of the Button.

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

## Image URL

To display an image from a URL, set the [`imageUrl`](https://www.telerik.com/kendo-angular-ui-develop/components/buttons/api/buttoncomponent#imageurl) property of the Button.

```html
<button kendoButton imageUrl="https://demos.telerik.com/kendo-ui/content/shared/icons/sports/golf.png">Golf</button>
```

The following example demonstrates the `imageUrl` property of the Button in action.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/buttons/button/icon/image-url/source.txt)

## End Icon

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

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

```html
<button
    kendoButton
    [endSvgIcon]="nextIcon">
    Next
</button>
```

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

The following example demonstrates how to set an SVG icon after the text of the Button by setting the `endSvgIcon` property.

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

## Suggested Links

* [API Reference of the Button](https://www.telerik.com/kendo-angular-ui-develop/components/buttons/api/buttoncomponent)
* [Toggleable Button](https://www.telerik.com/kendo-angular-ui-develop/components/buttons/button/toggleable)
* [Disabled Button](https://www.telerik.com/kendo-angular-ui-develop/components/buttons/button/disabled-state)
* [Icon Settings](https://www.telerik.com/kendo-angular-ui-develop/components/icons/icon-settings)
