Extended FABs: Guidelines
Extended floating action buttons (extended FABs) help people take primary actions

Usage
Use an extended FAB on screens with long, scrolling views that require persistent access to an action, such as a checkout screen.
Use it when label text helps understand the main action, or to add further emphasis to the button.



Additional emphasis
The extended FAB can provide more emphasis and clarity to a product's primary action.
Since it has room for both a text label and icon, the extended FAB can be effective where an icon alone is ambiguous. However, the relationship between an extended FAB's icon and label should be clear.

Like the regular FAB, only one extended FAB should be used per screen.
Multiple FABs compete for attention.
If additional high-level actions are required, consider adding more buttons elsewhere on the page.


The extended FAB shouldn't be used as an option in a set of actions.
Instead, use filled buttons for a similar level of emphasis.


Choosing a size
There are three variants of extended FABs: small, medium, and large.
Choose an appropriately-sized extended FAB to add the right amount of emphasis for an action.
In compact windows with one prominent action, the large extended FAB can be appropriate.
In larger breakpoints, use a medium or large extended FAB.

Anatomy

- Container
- Label text
- Icon (optional)
Container
The extended FAB container is a rounded rectangle that hugs its contents.
The extended FAB grows and shrinks with text length.

Icon (optional)
An extended FAB's icon should intuitively represent its action.


Label text
The extended FAB's label should clearly describe its action.
Use 1–2 words at most. Keep in mind that localization may increase the amount of characters and width of the extended FAB.


Placement




Avoid putting other floating components, like the floating toolbar, on screen with the extended FAB.

Responsive layout
The FAB and extended FAB can transform into each other depending on available space and layout.
In a collapsed navigation rail, a FAB would be used. When the rail is expanded, the FAB can transform into an extended FAB.

Right-to-left languages
Extended FABs should mirror their elements in right-to-left (RTL) languages.


Breakpoints
In compact and medium breakpoints, the extended FAB should be placed at the bottom of the screen, either center-aligned or aligned to the trailing edge of the window.


In expanded and larger breakpoints, the extended FAB should appear either:
- At the bottom right edge of the window, in both LTR and RTL languages
- Within the navigation rail


Behavior
Appearing
The extended FAB surface expands when appearing on screen using an enter and exit transition pattern.
Expanding
The extended FAB can expand and adapt to any shape using a container transform transition pattern.
This includes a surface that is part of the app structure, or a surface that spans the entire screen.
Transforming
The extended FAB can transform into a FAB on scroll to temporarily take up less space on screen.
Scrolling
The extended FAB can transform into a FAB when scrolling down, and back to an extended FAB when scrolling up.
When the FAB switches to an extended FAB, the following transitions occur:
- The FAB shape changes
- FAB icon moves to the left
- FAB text label fades in