DevExtreme v23.1 is now available.

Explore our newest features/capabilities and share your thoughts with us.

Your search did not match any results.
Floating Action Button

Floating Action Button

The Floating Action Button (FAB) is the primary action button on a screen that is displayed in front of all screen content. The FAB can perform an action or open a stack of two to five related actions (speed dial).

This demo illustrates a FAB that opens a speed dial when there are selected grid rows or performs a custom action—adds a new row—when nothing is selected.

In DevExtreme, the FAB is implemented as a container that collects and stores SpeedDialAction components. To display a FAB that performs a custom action, add a SpeedDialAction to the page. Specify its onClick and icon properties. Setting other properties is not required.

Two to five SpeedDialActions are collected in the FAB's speed dial. The actions are sorted according to their indexes. To hide an action from the speed dial, set its visible property to false.

FAB parameters are configured in the floatingActionButtonConfig object. Use it to change the FAB's position, maximum number of actions, icons in the open and close states, and other parameters. In this demo, the drop-down menu under the grid allows you to select the direction in which the speed dial should be opened. The repaintFloatingActionButton() method is called to apply the new configuration.

To get started with DevExtreme Floating Action Button, refer to the following tutorial for step-by-step instructions: Getting Started with Floating Action Button.

Thank you for your interest in our ASP.NET MVC product libraries and UI component suite. We are moving ASP.NET MVC-related demos and content to Please make sure to update your bookmarks with our new URL.

View Demo