IconLogoMark
IconUiExpandCollapseDown

Release NotesIconUiExpandCollapseDown

ComponentsIconUiExpandCollapseDown

AvatarsIconUiExpandCollapseDown
ButtonsIconUiExpandCollapseDown
Data VisualizationIconUiExpandCollapseDown
DialogsIconUiExpandCollapseDown
FormsIconUiExpandCollapseDown
IconsIconUiExpandCollapseDown
ModulesIconUiExpandCollapseDown
NotificationsIconUiExpandCollapseDown
ThemesIconUiExpandCollapseDown
TypeIconUiExpandCollapseDown

GuidelinesIconUiExpandCollapseDown

PatternsIconUiExpandCollapseDown

WordsIconUiExpandCollapseDown

ResourcesIconUiExpandCollapseDown

Floating Action

MOBILE-ONLY

/

Design

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 button (FAB) has two sizes, medium and large.

Medium: Only use for mobile devices.

Position

  • Location: The floating action button 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.

Don't use a label to explain an action.

Don'tuse a label to explain an action.

Do use icons for adding or sharing.

Douse icons for adding or sharing.

Actions

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

Don't use the button to modify or save content.

Don'tuse the button to modify or save content.

Do use it to initiate something constructive.

Douse it to initiate something constructive.

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

Don't delete or remove content.

Don'tdelete or remove content.

Do place secondary actions in other areas of the interface.

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.

Don't use for multiple actions in an interface.

Don'tuse for multiple actions in an interface.

Do reserve for the single, most important action.

Doreserve for the single, most important action.

Position

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

Don't place the button overtop meaningful content.

Don'tplace the button overtop meaningful content.

Do keep its placement consistent to the bottom right.

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.

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

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

Do use it for Apple and Android devices.

Douse it for Apple and Android devices.

Accessibility

Audit Results

See our full accessibility audit for more information about these results.

PlatformVisualInteractiveAutomatedDetails
React NativeIconConfirmation PassIconWarning WarningIconWarning N/A
  • IconWarningIcon only buttons need an accessibilityLabel. This prop exists, but our documentation does not reflect that.

Platform

platformnotes
Web
Apple
Android
  • Stick to the guidelines above.