Floating Action Menu
ProA round action button that unfolds into a short menu of labelled actions with a staggered reveal.
- #menu
- #fab
- #animation
- #mobile
Code
Pro component
The full source of Pro components arrives with Tech Store Pro. Free components stay open.
Browse free componentsAbout Floating Action Menu
The quick-actions button for mobile screens and dashboards: one tap away, out of the way the rest of the time.
Features
- Items fan out from the button one after another; the icon turns into a close mark.
- Closes on Escape, on an outside click and after choosing an action.
- Actions are data — label, icon and handler — so the menu fits any screen.
Accessibility
- The trigger is a
buttonwitharia-expandedandaria-controls; the menu is arole="menu"ofmenuitems. - Focus moves into the menu when it opens and back to the trigger when it closes; arrow keys move between items.
- The fan-out is a plain fade under
prefers-reduced-motion: reduce.