# 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-react-ui/components/buttons/floatingactionbutton/content-types) by setting the[`text`](https://www.telerik.com/kendo-react-ui/components/buttons/api/floatingactionbuttonprops#text) prop.

The FloatingActionButton supports the following icon options:

* [`svgIcon`](https://www.telerik.com/kendo-react-ui/components/buttons/api/floatingactionbuttonprops#svgicon)—Displays an SVG icon. For available icons, refer to the [list of SVG icons](https://www.telerik.com/kendo-react-ui/components/common/svgicon#svg-icons-list).
* [`icon`](https://www.telerik.com/kendo-react-ui/components/buttons/api/floatingactionbuttonprops#icon)—Displays a font icon from the Kendo UI theme. For available icons, refer to the [list of font icons](https://www.telerik.com/design-system/docs/foundation/iconography/icon-list/).
* [`iconClass`](https://www.telerik.com/kendo-react-ui/components/buttons/api/floatingactionbuttonprops#iconclass)—Displays an icon from a CSS class, such as a [Font Awesome](https://fontawesome.com/) icon.

## SVG Icons

To display an SVG icon, set the [`svgIcon`](https://www.telerik.com/kendo-react-ui/components/buttons/api/floatingactionbuttonprops#svgicon) property to to the necessary [`SVGIcon`](https://www.telerik.com/kendo-react-ui/components/common/api/svgicon).

```tsx
import { bellIcon } from '@progress/kendo-svg-icons';

<FloatingActionButton svgIcon={bellIcon} text="Notifications" />;
```

The following example demonstrates an icon-only button, an icon with a text label, and a text-only button.

[Demo Source](https://demos.telerik.com/kendo-react-ui/buttons/floatingactionbutton/content-types/func/source.txt)

## Font Icons

To display a Font icon inside the FloatingActionButton:

1. [Load the font icons in your project](https://www.telerik.com/design-system/docs/foundation/iconography/font-icons/#usage) so that the icon renders as expected.
2. Depending on the font icons library, you can set the:
   * [`icon`](https://www.telerik.com/kendo-react-ui/components/buttons/api/floatingactionbuttonprops#icon) property to a font icon in the Kendo UI theme.
     ```tsx
     <FloatingActionButton icon="bell" text="Notifications" />;
     ```
   * [`iconClass`](https://www.telerik.com/kendo-react-ui/components/buttons/api/floatingactionbuttonprops#iconclass) property to a third-party font icon library (such as [FontAwesome](https://fontawesome.com/)).
     ```tsx
     <FloatingActionButton iconClass="fa fa-bell" text="Notifications" />;
     ```

The following example demonstrates a Kendo UI theme font icon and a Font Awesome icon.

[Demo Source](https://demos.telerik.com/kendo-react-ui/buttons/floatingactionbutton/icons/func/source.txt)

## Suggested Links

* [API Reference of the FloatingActionButton](https://www.telerik.com/kendo-react-ui/components/buttons/api/floatingactionbuttonprops)
* [Content Types](https://www.telerik.com/kendo-react-ui/components/buttons/floatingactionbutton/content-types)
* [Customization](https://www.telerik.com/kendo-react-ui/components/buttons/floatingactionbutton/customization)
* [Icon Component](https://www.telerik.com/kendo-react-ui/components/common/icon)
