Buttons: Floating Action Button - Components - Material Design (2024)

A floating action button is used for a promoted action.

Shaped like a circled icon floating above the UI, it changes color upon focus and lifts upon selection. When pressed, it may contain more related actions.

Usage

Only one floating action button is recommended per screen to represent the most common action.

Behavior

It animates onto the screen as an expanding piece of material, by default.

Sizes

Default: 56 x 56dp
Mini: 40 x 40dp

Buttons: Floating Action Button - Components - Material Design (1)

Floating action button

Floating action buttons are used for a promoted action. They are distinguished by a circled icon floating above the UI and have motion behaviors that include morphing, launching, and a transferring anchor point.

Floating action buttons come in two sizes:

  • Default size: For most use cases
  • Mini size: Only used to create visual continuity with other screen elements

The button size should change from the default (56dp) to the mini size (40dp) when the screen width is 460dp or less.

Buttons: Floating Action Button - Components - Material Design (2)

Buttons: Floating Action Button - Components - Material Design (3)

The floating action button should be placed 16dp minimum from the edge on mobile and 24dp minimum on tablet/desktop.

Buttons: Floating Action Button - Components - Material Design (4)

Buttons: Floating Action Button - Components - Material Design (5)

The floating action button changes color on focus and lifts upon being selected.

Not every screen needs a floating action button. A floating action button represents the primary action in an application.

Buttons: Floating Action Button - Components - Material Design (6)

Buttons: Floating Action Button - Components - Material Design (7)

Only one floating action button is recommended per screen to increase its prominence. It should represent only the most common action.

Buttons: Floating Action Button - Components - Material Design (8)

Make floating action buttons positive actions like Create, Favorite, Share, Navigate, and Explore.

Buttons: Floating Action Button - Components - Material Design (10)

Avoid using floating action buttons for minor and destructive actions, including the following:

  • Archive or Trash
  • Nonspecific actions
  • Alerts or errors
  • Limited tasks like cutting text
  • Controls that should be in a toolbar, like volume control or changing a font color

Floating action buttons don’t contain app bar icons or status bar notifications. Don’t layer badges or other elements over a floating action button.

Buttons: Floating Action Button - Components - Material Design (11)

Use the circle-shaped icon consistently to enforce the primary action pattern across apps.

Buttons: Floating Action Button - Components - Material Design (12)

Buttons: Floating Action Button - Components - Material Design (13)

Don’t give the floating action button extra dimension.

Buttons: Floating Action Button - Components - Material Design (14)

Buttons: Floating Action Button - Components - Material Design (15)

Behavior

The floating action button animates onto the screen as an expanding piece of material, by default. The icon within it may be animated.

Floating action buttons may move differently than other UI elements because of their relative importance.

Lateral screens

A floating action button that spans multiple lateral screens (such as tabbed screens) should briefly disappear, then reappear if its action changes.

The button should stay on screen if its action remains the same across screens (and translate to a new position, if necessary.)

Lists

Lists underneath floating action buttons should have enough padding beneath them so their content isn’t blocked by the button.

Tabbed screens

On tabbed screens, the floating action button should not exit the screen in the same direction as the content. This prevents:

  • Floating action buttons from appearing functional when they aren’t
  • The perception that the floating action button is at the same the elevation as the content

Transitions

The floating action button is a unique example of a primary use case in an app. Take advantage of its visibility to create delightful transitions for a primary UI element.

Common transitions include Trigger, Toolbar, Speed dial, and Morphing. This is not an exhaustive list. Floating action buttons are designed to be flexible. Experiment with transitions that best suit your app and the screens on which the button sits.

Trigger

The floating action button can simply trigger an action or navigate somewhere. The animation of the touch ripple expands outwards as the force that causes changes to the UI.

Toolbar

The floating action button can transform into a toolbar upon press or from a toolbar upon scroll. The toolbar can contain related actions, text and search fields, or any other items that would be useful at hand.

A toolbar that disappears on scroll is particularly useful for screens where the full toolbar is needed upon initial entry or while at the top or bottom of a long list. This saves screen real estate when the user has signaled through scrolling that they’re interested in looking at the main content.

If a floating action button morphs into a toolbar, that toolbar should contain related actions.

Buttons: Floating Action Button - Components - Material Design (16)

Buttons: Floating Action Button - Components - Material Design (17)

Speed dial

The floating action button can fling out related actions upon press. The button should remain on screen after the menu is invoked. Tapping in the same spot should either activate the most commonly used action or close the open menu.

The floating action button can transform into a single sheet of material which contains all the actions.

As a general rule, have at least three options upon press but not more than six, including the original floating action button target. If you have two options – i.e. your floating action button only flings out one other choice – choose which action is most important. If you have more than six, users may have trouble reaching the furthest option.

Reduce decision fatigue by giving users the best, most distinct, and fewest options.

Buttons: Floating Action Button - Components - Material Design (18)

Buttons: Floating Action Button - Components - Material Design (19)

Don’t put overflow menus in the floating action button actions. There should be at most two taps from the initial screen to get to the intended destination.

Buttons: Floating Action Button - Components - Material Design (20)

Buttons: Floating Action Button - Components - Material Design (21)

Put overflow actions in the overflow menu in toolbars, not in floating action buttons.

Buttons: Floating Action Button - Components - Material Design (22)

Buttons: Floating Action Button - Components - Material Design (23)

Buttons: Floating Action Button - Components - Material Design (24)

Buttons: Floating Action Button - Components - Material Design (25)

If the hallmark of the app is adding file types, a floating action button can transform into related actions after it is first touched. However, if the actions that appear are unrelated to the button, place the actions into an overflow menu.

Buttons: Floating Action Button - Components - Material Design (26)

Buttons: Floating Action Button - Components - Material Design (27)

A floating action button can contain a list of contacts. The list shouldn’t contain unrelated actions.

Buttons: Floating Action Button - Components - Material Design (28)

Buttons: Floating Action Button - Components - Material Design (29)

Morph

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.

When morphing the floating action button, transition between starting and ending positions in a logical way. For example, do not pass through other sheets of material.

The morph animation should be reversible and transform the new sheet of material back into the floating action button.

Full screen

The floating action button can transform into a new sheet of material that spans the entire screen.

This type of dramatic transformation is typically associated with creating new content. As a result, it does not tend to have an method of undoing the transformation or a reversible animation.

Large Screens

Large screens

A floating action button can attach to an extended app bar.

Buttons: Floating Action Button - Components - Material Design (30)

A floating action button can be attached to a toolbar or structural element within a sheet (as long as it’s not blocking other elements).

Buttons: Floating Action Button - Components - Material Design (31)

A floating action button can be attached to the edge of a sheet.

Buttons: Floating Action Button - Components - Material Design (32)

Don’t have more than one floating action button per screen.

Buttons: Floating Action Button - Components - Material Design (33)

Don’t associate floating action buttons with every element on a screen.

Buttons: Floating Action Button - Components - Material Design (34)

Buttons: Floating Action Button - Components - Material Design (2024)
Top Articles
Health Insurance for your visa & stay in Germany | Fintiba
Making a Free-to-Play Game Profitable
Blorg Body Pillow
Lifewitceee
The Atlanta Constitution from Atlanta, Georgia
Dr Doe's Chemistry Quiz Answer Key
Dr Klabzuba Okc
Beds From Rent-A-Center
Nm Remote Access
Crime Scene Photos West Memphis Three
Kagtwt
Boat Jumping Female Otezla Commercial Actress
Günstige Angebote online shoppen - QVC.de
Evangeline Downs Racetrack Entries
General Info for Parents
Oc Craiglsit
Directions To 401 East Chestnut Street Louisville Kentucky
Costco Gas Foster City
Are They Not Beautiful Wowhead
Snow Rider 3D Unblocked Wtf
Nissan Rogue Tire Size
Best Uf Sororities
How do I get into solitude sewers Restoring Order? - Gamers Wiki
24 Hour Drive Thru Car Wash Near Me
Booknet.com Contract Marriage 2
Ms Rabbit 305
Vandymania Com Forums
Mikayla Campinos Laek: The Rising Star Of Social Media
Everything To Know About N Scale Model Trains - My Hobby Models
Elite Dangerous How To Scan Nav Beacon
A Christmas Horse - Alison Senxation
Dell 22 FHD-Computermonitor – E2222H | Dell Deutschland
Yu-Gi-Oh Card Database
Trust/Family Bank Contingency Plan
Emerge Ortho Kronos
Game8 Silver Wolf
Cookie Clicker The Advanced Method
2007 Jaguar XK Low Miles for sale - Palm Desert, CA - craigslist
Sofia Franklyn Leaks
Streameast Io Soccer
Canada Life Insurance Comparison Ivari Vs Sun Life
Secrets Exposed: How to Test for Mold Exposure in Your Blood!
Best Restaurant In Glendale Az
Erica Mena Net Worth Forbes
Richard Mccroskey Crime Scene Photos
Craigslist Anc Ak
Sitka Alaska Craigslist
Julies Freebies Instant Win
Sams La Habra Gas Price
Pilot Travel Center Portersville Photos
Nfsd Web Portal
Wayward Carbuncle Location
Latest Posts
Article information

Author: Stevie Stamm

Last Updated:

Views: 6134

Rating: 5 / 5 (60 voted)

Reviews: 91% of readers found this page helpful

Author information

Name: Stevie Stamm

Birthday: 1996-06-22

Address: Apt. 419 4200 Sipes Estate, East Delmerview, WY 05617

Phone: +342332224300

Job: Future Advertising Analyst

Hobby: Leather crafting, Puzzles, Leather crafting, scrapbook, Urban exploration, Cabaret, Skateboarding

Introduction: My name is Stevie Stamm, I am a colorful, sparkling, splendid, vast, open, hilarious, tender person who loves writing and wants to share my knowledge and understanding with you.