The FloatingActionButton allows you to specify the visual content of the rendered button by adding predefined or custom icons to it. It can display the button with an icon indicator, a text label, or a combination of both.
The FloatingActionButton provides options for using:
- Built-in Kendo UI icons—Use the
iconproperty. To see the full list of the web font icons in Kendo UI, refer to the article on styles and layout.
- FontAwesome and other font icons—Set the required third-party CSS classes through the
iconClassproperty of the component.
- Text labels&mdas;Use the
textproperty of the component.
- Templates—To display custom content, refer to the article on using templates in the FloatingActionButton.
The following example demonstrates how to display an icon, an icon with some text, and only some text in the FloatingActionButton.