Components · Actions · Floating Button Group
Back to Floating Button GroupFloating Button GroupNew
Use for a toolbar of immediate actions - a floating editor or canvas toolbar, a selection toolbar or a vertical tools rail.
Properties
Size, corner radius and the content options below are properties of the same component, not separate elements - change them to check this component's appearances and states in the Live Preview.
Live Preview
Every appearance side by side, each in every state. One full matrix is rendered per selected Size and Corner radius combination.
When to use
A floating editor or canvas toolbar - undo, redo, share, present.
Component Guide
Overview
Floating Button Group is a tray of separate soft buttons with one shared highlight that moves between them on hover or focus. It is for actions, not selection.
When to Use
- A floating editor or canvas toolbar - undo, redo, share, present.
- A selection toolbar over text or objects.
- A vertical tools rail - zoom, insert.
When Not to Use
- Formatting toggles or alignment - use Toggle Group.
- Switching views - use Group Button.
- More actions than fit in one row - use a Dropdown menu.
Best Practices
- Group related actions with separators and keep to about seven buttons.
- Make secondary actions icon-only before dropping labels from the main one.
- Give each icon-only button a specific label.
Accessibility
- role=toolbar with aria-label and aria-orientation.
- Single tab stop with roving focus; arrow keys follow orientation.
- Disabled uses aria-disabled so the item stays readable.
Related Components
Group Button, Expanding Button Group, Toggle Group, Tooltip.
{
"component": "Floating Button Group",
"category": "Actions",
"summary": "Floating Button Group is a tray of separate soft buttons with one shared highlight that moves between them on hover or focus. It is for actions, not selection.",
"whenToUse": [
"A floating editor or canvas toolbar - undo, redo, share, present.",
"A selection toolbar over text or objects.",
"A vertical tools rail - zoom, insert."
],
"whenNotToUse": [
"Formatting toggles or alignment - use Toggle Group.",
"Switching views - use Group Button.",
"More actions than fit in one row - use a Dropdown menu."
],
"bestPractices": [
"Group related actions with separators and keep to about seven buttons.",
"Make secondary actions icon-only before dropping labels from the main one.",
"Give each icon-only button a specific label."
],
"accessibility": [
"role=toolbar with aria-label and aria-orientation.",
"Single tab stop with roving focus; arrow keys follow orientation.",
"Disabled uses aria-disabled so the item stays readable."
],
"relatedComponents": [
"Group Button",
"Expanding Button Group",
"Toggle Group",
"Tooltip"
]
}