A floating action button (FAB) is a round button that floats above the page content, usually in a bottom corner, and gives people one-tap access to the most important action on a screen. Google made the pattern popular with Material Design in 2014, and you now see it in web apps, mobile apps and websites.
Feedback tools use the same pattern. At Usersnap we call it the feedback menu: one button that opens up to a short list of options, such as reporting a bug, rating a page, or opening your help center or support chat.
Because the button stays in place as people scroll, it catches feedback at the moment something goes wrong or right, on the page where it happened, without pulling anyone out of what they were doing.
This guide covers what floating action buttons are, when to use them, best practices, and examples you can borrow.
We built the Usersnap feedback menu after asking customers how they wanted to offer feedback: one button that opens a few clear choices, instead of several buttons competing for the same corner of the page.
The types of floating action buttons, as well as what they are and how they help digital products get closer to customers and help them (not just for customer feedback), is the topic of this article.
Floating action buttons are UI controls for Android and web-based apps. A floating action button is a tool that allows users to navigate the key parts of an app or website. Usually, floating menu plugins display as a circular icon with the app’s color scheme. Action menus clearly illustrate its action without notifications.
Not every screen needs a floating action button, and companies don’t display more than two buttons unless they have separate but equally important actions.
Floating action buttons trigger a certain event. Floating action buttons generally avoid destructive actions. In other words, you won’t find a floating action button with a trash icon.
Twitter (now X) added a floating action button to its apps in 2018, as Luke Wroblewski pointed out at the time (@LukeW). While some think floating menu plugins stick out like a sore thumb (@dagronf), others like how the button expands with more options (@harshil).
Floating action buttons might seem insignificant. Floating action buttons are small compared to the rest of the website’s functions. However, their effects help users navigate. When implemented correctly, action menus are identifiable, accessible, and customizable.
The shape, position, and color help distinguish action menus above the user interface (UI). The buttons became more popular after Google released material design principles in 2014. Many adopted action menus in web and mobile design, becoming a recognizable part of daily tasks.
Floating menus can expand and animate, which makes them easy to notice and fun to use. They aren’t attached to the surface of the UI, so they can disappear and reappear during a transition or launch. You’ll find them in the same spot on every screen where they’re relevant.
Here is what a floating action button does well.
It represents a hallmark action
If you’re going to use a floating action button on your website, think about the actions people are most likely to take and represent the main one with a single, recognizable icon. In Usersnap, for example, you can match the feedback button to your brand: its colors, fonts, size and position on the page.
Floating action buttons are for the most frequently used actions or the primary characteristics of the app. Users should be able to successfully and efficiently complete a task using the button without throwing their hands in the air and having a negative experience.
Floating action buttons guide the way. These buttons are natural cues to tell the users what they should do next. Have you ever encountered an unknown screen before? It’s scary, but you often reach for a feedback button tool to navigate since they’re familiar and easy to use, and a direct line to give feedback to the company.
Floating menus are tell-tale signs of what to look for when navigating a different website page. Floating menus help make sure that people who visit won’t feel lost or confused.
Floating action buttons sometimes provide more than one action and spin out to expose other options related to the primary floating action button. You can design them to fit the user’s needs. Don’t go crazy when customizing a floating menu, limiting the separate actions to six. Generally, action menus present three choices.
Factor in the original floating menu and use the revealed actions as independent but still related. You could position any action that isn’t specific to the user into the toolbar to make the design cleaner.
Floating action buttons generate contextual awareness
Context is a huge part of user interaction. Depending on your website, some users want to consume content, while others need to perform actions.
Action menus bring out the best of any app, depending on the content. For example, when a user scrolls, the button disappears. When they stop scrolling, they might want to post or complete another action, so the button reappears.
Connects two states
A floating action button isn’t just a cute little accessory at the bottom of the screen. They can transform based on what the user needs. Floating action buttons morph flawlessly and logically, maintaining the user’s orientation and helping them comprehend the change.
By adjusting the menu actions based on the environment or user context, it offers precise navigation and support for the users. For example, showing FAQ on your marketing website’s button menu, versus linking the demo videos library in the product.
In Usersnap, the floating action button is the feedback menu. One button opens up to four options, and each option leads to its own feedback project: a bug report with a screenshot, a rating survey, a feature request form, or a link to your help center or support chat (Intercom, Drift or Zendesk). Each response lands in Usersnap with the page it came from and the person who sent it, next to what customers tell you in your other channels.
One of the menu’s options: an issue report, opened from the page and pinned to the exact spot.
Here is how to set one up. The feedback menu is switched on by request, so ask our team to enable it for your account first.
Create a new project in your Usersnap dashboard and choose the feedback menu. You’ll see a set of templates to start from.
Pick the template closest to your use case. The templates are based on how our customers set up their menus, and you can change every option afterwards.
Step 3: link the feedback projects you want to create (or build them on the spot!)
Connect the feedback projects you already have, or let Usersnap create new ones for you. A menu holds up to four items, for example bug reports, a satisfaction survey and a feature request form. Browse our feedback collection templates for ideas.
Each project keeps its own integrations, so bug reports can go to Jira and ratings to Slack, while a menu item can open your Intercom, Drift or Zendesk chat. Set up the integrations first, then link the projects to the menu.
Match the menu to your brand and place the button where it makes sense for your pages. Display rules let you show the menu only on certain URLs, for example only inside your web app, so it never competes with another button.
Step 5: measure success (are you getting feedback?)
Check which options people pick most. Every item lands in Usersnap with its source and the page it came from, so you can see whether people come to report bugs, rate their experience or ask for help, and spot the patterns across them.
If most clicks go to support, your help content may need work. If bug reports pile up on one page, that page needs attention first.
How to Employ a Standard Action Menu Component
If you build with Material Components for the web, start by installing the FAB package (npm install @material/fab), then load Material icons through Google Fonts. To summarize, look out for the following things.
You can use a floating action button with an HTML structure of either span, i, img, or svg. These elements are important to include or the icon might not center properly. From there, you can consider the style (@import “@material/fab/mdc-fab”;).
Extended action menus must contain an appropriate label. Mixins customize the floating menu further, and you can adjust the color (mdc-fab-container-color($color)). Position the floating menu in the application design and help your website encourage and promote actions.
Some specific customizations include:
- mdc-fab: mandatory for the button element
- mdc-fab_ _icon: mandatory for the icon element
- mdc-fab_ _label: optional, for the text label
- mdc-fab–mini: modifies floating action button to a smaller size
- mdc-fab–extended: modifies to a wider size, includes a text label
- mdc-fab–exited: animates floating action button out of view, returns to view
Are you thinking of using floating menu plugins for your website or app? Keep reading to see some good habits to make a slick design while avoiding common mistakes.
Avoid “mystery meat” navigation
Don’t you hate when buttons or links don’t explain what they do? Yeah, we do too. Avoid unclear icons when creating action menus. Since you can only use icons, users sometimes don’t understand what they do specifically. Icons are really hard to understand because they’re so open to interpretation.
Universally recognized icons are rare, and people have to guess what they do, leaving a bad taste in their mouths. Make sure the floating menu plugins on your platform are relevant and understandable.
Floating action buttons can distract you due to their design. You should only use one floating menu per page, or not at all. Remember, not every screen needs a floating menu because not every screen has an action.
Choose an appropriate size that distinguishes the button and signals what it does as users browse through the different interfaces without disturbing their experience.
As we mentioned, action menus are for positive actions like creating, sharing, or exploring. Floating action buttons don’t usually have deleting or archiving options.
Remember that floating action buttons carry out the main action on the screen. They should be specific and complete. For example, copy and paste belong in a toolbar, while posting a message is a floating action button. A feedback menu follows the same rule: every option should be something people actually want to do, like report a bug or ask for help.
You can trigger floating action buttons by simply clicking on them. You enable beautiful animations that display specific actions, and users can share on social media, navigate floating menu buttons, perform downloads, and complete login forms.
Having floating action buttons expands the website functionality without making the UI design too busy. Floating action buttons promote quick access with user-friendly, eye-catching, and engaging designs.
Floatton
Floatton is an app that helps you create floating link buttons for easy accessibility throughout the website. You can find multiple features that create a responsive and smooth format on any browser or theme. Floatton works for mobile phones and tablets. The app is quick and easy, with no coding required for configuration.
Specific icon buttons depend on the selected channel type. Think about it this way: an add button on a blog page would write an article, whereas, for a calendar app, you would add an event.
Add buttons in particular show multiple additional buttons when hovered over. Users can then navigate what their next steps are going to be easily and effectively.
Responsive card
Responsive cards are flexible and extensive, including options for headers and footers with various content. You have access to contextual background colors and display options.
These cards give more functionality to your website, and you can customize the cards appropriately for better control and support. You can display content such as images, lists, text, and links. Additionally, the cards adapt to the screen size, providing more information.
Angularjs material floating action directive
Action buttons have stunning animations like slide-in, fade, and zoom. You can add optional rippling effects, filling them with the accent color or other customizations. The Angularjs material floating action directive accomplishes just that.
AngularJS reached the end of its support in 2021, so treat this one as design inspiration rather than code to ship.
You have more accessibility, and users find these options useful. You can better express your website and stand out from the crowd.
Full-screen search transition
Full-screen search does what the name says: it opens search across the whole screen. The transition is smooth, well designed and accessible, and people can reach search from anywhere on the page.
The design works on all platforms and devices. Those who prefer to search using small, mobile devices will have better accessibility.
Expando
Expando is a great button that has helpful utilities. Once clicked, it displays a new window that you can use for other functions, encouraging the user to take more critical actions.
Other action buttons pop up, corresponding to what the user might want to do next in the process.
Paper sheet morphing
Action menus quickly integrate into designs with neat animations. You can convert buttons into part of the format, extending from the entire screen. You can switch, reverse, or transform new sheets of material into action menus. This is how paper sheet morphing functions.
Template cards
Card templates give you a ready-made layout for each piece of content, and you can add new elements to the design. Cards are a convenient way to display content, and each card has its own features, which makes them well suited for presenting similar objects.
The size and supported actions can vary, and you can post photos with captions. A basic card or image card conveys small bits of info, so you don’t scare away potential customers.
Cards for blog posts
Wait, aren’t these the same as responsive cards? Not quite. While responsive cards provide information in an approachable way, cards for blog posts allow users to share the content on social networks like Facebook, X and LinkedIn.
Having a floating menu on WordPress, for example, ensures that your writing gets out there. Additionally, it makes the blog posts easier to share with other people who might not stumble across the information.
Burger menus don’t list delicious sandwiches and French fries but rather are popular features on websites and mobile apps. Hamburger menus open with a triggered animation to reveal a navigation menu.
You can see an action menu as a stack of three horizontal lines that resemble, yep, a burger. Burger menus have various pros and cons, but floating menu plugins are good alternatives for a website or mobile design.
Floating action buttons vary with different designs and animations. You can visually differentiate the primary and secondary options on buttons. Action buttons aren’t links, but the primary source that advocates the user to complete a certain action.
Consider the placement and make the icon simple without any confusion. We all make mistakes, so allow the users to recover from accidents, such as making edits before finalizing.
You can use a floating action button with CSS for social media sharing. These complex buttons display four additional buttons that lead to various networks.
This allows you to organize your webpage with one parent button and other baby buttons. Consider the labels and confirm that users will know exactly what actions they should take next.
Floating action buttons add unique functions to your website without making the format too overwhelming. You can enable the buttons to show up when you need them, then hide them when they’re not necessary for the current screen.
With the checkbox trick, you can toggle the button on and off. You have more customization, and users won’t be as annoyed when they want to focus on a task and not the floating action button in the right-hand corner.
Ionic material design
Feedback menus have multiple designs that correspond to various functions that improve the entire experience. You can adjust the buttons for specific tasks such as storage, sharing, social connection, advertising, and notifications.
While these depend on your website and product, any business owner would love to know that they have more control over the buttons.
Floating menu plugins make login pages more unique. These buttons can help you successfully log in or register to an application in a more user-friendly approach.
New users will appreciate the little nudge for certain tasks without having to navigate themselves if they’re unfamiliar with the process.
You can alter action menus to either add a scrolling animation effect to projects or have the button disappear entirely. Websites and apps can easily overwhelm us with bright colors and countless notifications. Floating action buttons allow us to focus on one task at a time, without needing to post or purchase something specific.
It’s best to encourage the user to act when they’re ready without constantly reminding them of the presence of an action button.
Leaflet material controls
Floating action buttons help you navigate a map with excellent actions that help you quickly go through controls, especially with leaflet material controls. These are easy to use and make your life a little bit easier, which we can all agree is a nice feature. You can zoom in and mark specific locations while keeping track of specific information.
Final Thoughts
Floating action buttons help your website look more organized. Users can easily gauge what their next action should be through recognizable prompts.
If you want a floating button for feedback, the Usersnap feedback menu gives people one place to report bugs, rate their experience or reach support. Each response lands in Usersnap with its context, next to what customers tell you in calls, tickets and surveys, so you can see what to build next and how it lands. Try Usersnap free, no credit card needed.
Frequently Asked Questions
Here are a few frequently asked questions regarding floating action buttons.
A floating action button needs a specific code and layout file. You can color a floating action button by customizing the theme’s color palette. Additionally, using XML attributes or corresponding methods can adjust the size, ripple effect, floating action button icon, and how it responds to button taps.
A floating action button in Flutter carries the same qualities as what we’ve established. A floating action button is a circular icon button that hovers over content to promote a primary action to the user with one button per screen.
What are floating icons?
Floating icons represent the primary action of the app. You can use floating icons to promote specific functions. Most of the time, floating icons are circles that float above the UI, changing color and spinning out upon selection with more related options.
Floating action buttons are designed to be flexible, but their placement still matters.
Depending on your audience and the reading direction of your interface (left-to-right or right-to-left), FABs are typically anchored to the bottom right, bottom left, or center bottom of the screen.
Their design can adapt to the context. For instance, FABs can transform from an extended layout with text to a compact icon-only version when space is limited. You can also customize the font, color, and shape to match your branding or accessibility needs.
The key is to keep them visible, clear and unobtrusive, so they help people without getting in the way.