# FloatingActionButton Icon Options

You can enhance the content of the FloatingActionButton by displaying SVG icons or font icons. You can also combine an icon with a [text label](https://www.telerik.com/kendo-angular-ui/components/buttons/floatingactionbutton/content).

The FloatingActionButton supports the following icon options:

* [`svgIcon`](https://www.telerik.com/kendo-angular-ui/components/buttons/api/floatingactionbuttoncomponent#svgicon)—Displays an SVG icon. For available icons, refer to the [list of SVG icons](https://www.telerik.com/kendo-angular-ui/components/icons/svgicon/svgicon-list).
* [`icon`](https://www.telerik.com/kendo-angular-ui/components/buttons/api/floatingactionbuttoncomponent#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/components/icons/icon/icon-list).
* [`iconClass`](https://www.telerik.com/kendo-angular-ui/components/buttons/api/floatingactionbuttoncomponent#iconclass)—Displays an icon from a CSS class, such as a [FontAwesome](https://fontawesome.com/) icon.

> 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/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/components/buttons/api/floatingactionbuttoncomponent#svgicon) property to the necessary [`SVGIcon`](https://www.telerik.com/kendo-angular-ui/components/icons/api/svgicon).

```html example.component.html
<kendo-floatingactionbutton [svgIcon]="svgInfo"> </kendo-floatingactionbutton>
```

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

public svgInfo: SVGIcon = infoCircleIcon;
```

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

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

## Font Icons

To display a Font icon inside the FloatingActionButton:

1. Use the [`ICON_SETTINGS`](https://www.telerik.com/kendo-angular-ui/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/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/components/buttons/api/floatingactionbuttoncomponent#icon) property to a font icon in the Kendo UI theme.
     ```html
     <kendo-floatingactionbutton icon="calendar"></kendo-floatingactionbutton>
     ```
   * [`iconClass`](https://www.telerik.com/kendo-angular-ui/components/buttons/api/floatingactionbuttoncomponent#iconclass) property to a third-party font icon library (such as [FontAwesome](https://fontawesome.com/)).
     ```html
     <kendo-floatingactionbutton iconClass="fa fa-book"></kendo-floatingactionbutton>
     ```

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

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

## Suggested Links

* [API Reference of the FloatingActionButton](https://www.telerik.com/kendo-angular-ui/components/buttons/api/floatingactionbuttoncomponent)
* [Content Types](https://www.telerik.com/kendo-angular-ui/components/buttons/floatingactionbutton/content)
* [Templates](https://www.telerik.com/kendo-angular-ui/components/buttons/floatingactionbutton/templates)
* [Icon Settings](https://www.telerik.com/kendo-angular-ui/components/icons/icon-settings)
