FloatingActionButton Appearance
The FloatingActionButton provides predefined appearance options such as different sizes, border radii, and theme colors. If you omit an appearance property, the active Kendo theme supplies its default value.
Apart from the default vision of the FloatingActionButton, these alternative styling options enable you to configure each individual aspect of the appearance of a FloatingActionButton.
The following example demonstrates all the available appearance options of the FloatingActionButton in a single, configurable demo.
Starting with version 22.1.0, default values of the appearance properties are no longer hardcoded in the component. The default values are inherited from the Kendo theme.
For more information, refer to the Design System documentation.
Size
The Kendo UI for Angular FloatingActionButton enables you to configure the padding of its internal content by using the size property, which accepts FloatingActionButtonSize values.
The size option supports the following values:
smallmediumlarge
The following example demonstrates how to define the size of the FloatingActionButton.
Roundness
The FloatingActionButton lets you apply different roundness to the component through its rounded property, which accepts ButtonRounded values.
The rounded option supports the following values:
smallmediumlargefullnone
The following example demonstrates how to define the border radius of the FloatingActionButton.
Theme Color
The FloatingActionButton allows you to set different theme colors with its themeColor property, which accepts FloatingActionButtonThemeColor values. The theme color applies as the background and border color and adjusts the text color accordingly.
The themeColor option supports the following values:
baseprimarysecondarytertiary
The following example demonstrates how to define the theme color of the FloatingActionButton.