Floating Action Button is the circular button that floats above the UI and is “used for a promoted action”. It acts as call to action button, meant to represent the single action users perform the most on that particular screen.
The floating action button animates onto the screen as an expanding piece of material, by default. The icon within it may be animated.
Include FAB Button to the code by adding .pmd-btn-fab
.
Include Raised Floating Action Button to the code by adding .pmd-btn-fab .pmd-btn-raised
.
Include Flat FAB Button to the code by adding .pmd-btn-fab .pmd-btn-flat
.
Include Outline FAB Button to the code by adding .pmd-btn-fab
with .btn-outline-*
.
Add .btn-lg
, .btn-sm
for additional sizes in Floating Action Buttons.
The floating action button can transform into sheets of material that are part of the app structure. This dramatic transformation accentuates the action the button enables. Wrap all the links with a div containing classes .menu
and .pmd-floating-action
and add class .pmd-floating-action-btn
to each and every links.