8.2. Floating action button parameters
Use the parameters as shown in the following table to configure your floating action button plugin.
| Name | Description | Type | Default value | Required |
|---|---|---|---|---|
|
|
Position of the floating action button. Valid values: |
|
| No |
|
| Name of the floating action button |
| Not applicable | Yes |
|
|
Icon of the floating action button. Recommended to use filled icons from the Material Design library. You can also use an svg icon. For example: |
| Not applicable | No |
|
| Display of the label next to your icon |
| Not applicable | No |
|
| Size of the floating action button |
|
| No |
|
| Color of the component. It supports both default and custom theme colors, that are added from the Palette Getting started guide. |
|
| No |
|
| Performed action when selecting a floating action button |
| Not applicable | No |
|
| Link that opens when selecting a floating action button |
| Not applicable | No |
|
| Text that appears when hovering over a floating action button |
| Not applicable | No |
|
| Order of the floating action buttons displayed in the submenu. A larger value means higher priority. |
| Not applicable | No |
|
| Display floating action button on the specified paths |
| Display floating action button on all paths | No |
|
| Hide floating action button on the specified paths |
| Display floating action button on all paths | No |
If multiple floating button actions are assigned to the same slot value, the floating buttons are displayed as submenu options within the main floating action button.