Button group
Button group is used to gather multiple actions.

Overview
Use Button group when you have to display multiple buttons located in the same space. Button Group will help to space buttons out evenly.
It can contain the following combinations:
1
Primary Button+ 1Secondary button: when two actions are available, but one is more important than the other2
Secondary Buttons: when two actions are available, and none is more important1
Primary ButtonOR 1Secondary Button+ 1Menu Button:when there are more than two actions available, but one stands out, and others are regrouped in a sub-menu2
buttons+ 1Menu Button

Guidelines
Buttons must be displayed in order of importance :
Primary Button, if there is any, should always be displayed as the group's first action. ⚠️ Only one primary Action Button can be used in a Button Group.The
Secondary Buttoncomes afterwardMenu Buttoncomes last
💡 Please keep in mind that depending on the context, Button groupcan be displayed from left to right or from right to left.
Use only one primary action

Put primary action as the first button of the group

Do not use 2 primary actions

Accessibility
While it's not a formal WGAC rule, it's considered good practice to maintain a minimum 8px spacing between buttons to prevent accidental clicks. This spacing is automatically managed by ROMA, so please avoid altering it for larger or smaller gaps
Content
Button group content must follow button guidelines.
Last updated
Was this helpful?