Button group
On this page
Usage
Use a button group to arrange each button as a separate element with a gap between them. On small screens, buttons are arranged vertically.
Number of buttons
To reduce cognitive load and avoid visual clutter, use three buttons maximum.
Writing content
For help with writing button content and character count guidance, go to the Writing content section on the Buttons page.
Layout
Placement
Button groups can be placed in dialogs, forms, wizards, and more. Button groups in these elements should always be aligned left.
Hierarchy
It is important to establish visual hierarchy between buttons in your designs. Buttons in groups are most often ordered from left to right with the primary action on the left.
When it comes to wizards and other similar elements, the primary action is the Next button in the middle of the group.
Best practices
Too many buttons
Use three buttons max per group.
Do not use more than three buttons in a group.
Too many variants
Use one primary variant only mixed with other variants.
Do not use more than one primary variant in a button group.
Other libraries
To learn more about our other libraries, visit this page.
Feedback
To give feedback about anything on this page, contact us.