FloatingActionButton Appearance
The FloatingActionButton provides predefined appearance options such as different sizes and theme colors.
Since 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.
The following example demonstrates all available appearance options of the FloatingActionButton in action.
Size
The FloatingActionButton allows you to set different padding to the internal content. To achieve this utilize the size property. It accepts values of type ButtonSize.
The size option supports the following values:
smallmediumlarge
The following example demonstrates how to define the size of the FloatingActionButton.
Roundness
The FloatingActionButton enables you to apply different border radius to the component through the rounded property. It accepts values of type ButtonRounded.
The rounded option supports the following values:
smallmediumlargefullnone
The following example demonstrates how to define the border radius of the FloatingActionButton.
Theme Colors
The FloatingActionButton allows you to specify predefined theme colors. The theme color will be applied as a background and border color while also amending the text color accordingly.
The available themeColor values are:
primarysecondarytertiaryinfosuccesswarningerrordarklightinverse
The following example demonstrates how to specify the theme colors of the FloatingActionButton.