Components

Design
Code
keyboardshortcuts
d
Design
c
Code
,
Previous Section
.
Next Section
/
Toggle Preview Environment
[
Previous Platform
]
Next Platform
command +
Scroll to Top
command +
Scroll to Bottom

Let users perform a primary action on mobile devices.

The floating action button is designed solely for primary actions on mobile devices.

Size

The floating action has two sizes, medium and large.

Medium: Only use for mobile devices.

Position

  • Location: The floating action button (FAB) appears at the bottom right of the interface in which the action takes place.
  • Elevation: Consistent with our stack order, the FAB has a level 2 elevation.

Icon-Only

This button is always icon-only, and should never have a label used in its place.

floating-action-button-icon-only-dont

Don'tuse a label to explain an action.

floating-action-button-icon-only-do

Do use icons for adding or sharing.

Actions

The floating action button (FAB) should only initiate an action. Never use it to complete a workflow.

floating-action-button-action-modify-dont

Don'tuse the button to modify or save content.

floating-action-button-action-modify-do

Douse it to initiate something constructive.

Avoid using the FAB for bulk or destructive actions and instead place them elsewhere to avoid confusion.

floating-action-button-action-secondary-dont

Don'tdelete or remove content.

floating-action-button-action-secondary-do

Doplace secondary actions in other areas of the interface.

Important, primary actions make use of our action color, which demands a lot of attention. It’s best to limit its use to just one.

floating-action-button-one-dont

Don'tuse for multiple actions in an interface.

floating-action-button-one-do

Doreserve for the single, most important action.

Position

The floating action button should remain fixed and not be placed haphazardly.

floating-action-button-position-dont

Don'tplace the button overtop meaningful content.

floating-action-button-position-do

Dokeep its placement consistent to the bottom right.

Mobile-Only

As exciting as this button may be, avoid using it for anything other than mobile applications.

floating-action-button-mobile-only-dont

Don'tuse the floating action button for web-only workflows.

floating-action-button-mobile-only-do

Douse it for Apple and Android devices.

Platform

platformnotes
Web
Apple
  • Stick to the guidelines above in addition to the navigation bar guidelines for text title button controls.
Android
  • Stick to the guidelines above.