Floating Action Button
UI DesignWhat is a Floating Action Button
A floating action button, or FAB, is a button that floats above the content and represents the primary action of a screen. It is part of Material Design and usually shows a single icon, such as a pencil for "Compose" or a plus for "Add".
Types of Floating Action Buttons
- FAB: An icon in a rounded container, in several sizes
- Extended FAB: Icon plus a text label, such as Compose
- FAB menu: Opens a few related actions
When to use a Floating Action Button
Use a FAB for one frequent, positive action on a screen, such as creating something new. Do not use it for minor or destructive actions like delete, and do not put more than one FAB on a screen. If no action clearly stands out, skip the FAB.
Floating Action Button best practices
Keep it within easy thumb reach and clear of other controls such as snackbars. Use a familiar icon, or an extended FAB with a label when the icon alone may be unclear.
Frequently asked questions
When should you use a floating action button?
When a screen has one clear primary action that users take often, such as composing an email or adding a new item. If a screen has no single main action, or several equal ones, do not use a FAB.
What is an extended FAB?
An extended floating action button adds a text label next to the icon, such as "Compose". The label makes the action clearer, which helps when the icon alone could be misunderstood.
Should iOS apps use floating action buttons?
The FAB is a Material Design pattern for Android and the web. Apple's guidelines do not include it, so iOS apps usually place primary actions in a toolbar or navigation bar instead.
Related terms
View all UI Design terms →Material Design
Material Design is Google's design system , first released in 2014. It gives designers and developers guidelines, components and code for…
Call-To-Action
A Call-To-Action (CTA) is a design element that prompts users to take a specific action. It typically appears as a button, link, or…
Bottom Sheet
A bottom sheet is a panel that slides up from the bottom of the screen to show extra details or controls. It is common in mobile apps…
Thumb Zone
The thumb zone is the area of a phone screen that a user's thumb can reach comfortably while holding the phone in one hand. The idea comes…
Toast Notification
A toast notification is a small, temporary message that pops up to confirm an action or show status , such as "Message sent". It does not…
Elevation
Elevation is the distance between two surfaces along the z-axis, the depth of the screen. Designers use it to show which elements sit…
