Button Group

A button group provides a navigable container of buttons.

Design elements should be anchored to the bottom of the
frame.

Principles

Action-Oriented: Contains actionable buttons, rather than groups of labels.

Containment: Groups actions together with motion and focus.

Flexible: Can consist of multiple button types.

Usage & Placement

Use a button group to display more than one button. When presenting multiple buttons, use a button group component rather than laying each out independently.

button group

A button group can consist of any combination of button types of the same button height.

Keep button heights consistent in a button group.
Group buttons of different heights together.

Button groups can be paired with other elements, like cards or stacks, to act as related actions.

Keep to one button group per layout.
Stack multiple button groups.

A button group layout can be contained or overflow, with 1 to 10 buttons.

button group

A. Contained: The button group fits within the container's width without any elements cut off.

B. Overflow: The button group's width is wider than the space available in the container.

Keep your buttons under 10 and essential only to minimize swipes.
Grow the button group past 10 buttons.

Focus

Initial focus defaults to the left most button, but can be configured to be centered for symmetrical button groups.

Configure focus to highlight most access or higher importance features.
Override default initial focus if all items are of similar use case importance.

centered layout

A center aligned button group based on the initial focus element, that slides focus over per swipe. Avoid using an overflow layout, as all buttons should be visable and contained in a centered layout.

left aligned layout

Left aligned button group layout include start and end margins of 44dp from edges. Buttons smoothly scroll over to the center over 3 steps on swipe and ramp up as they slide.

Anatomy

left aligned layout

The button group is a container component, grouping 1 to 10 buttons of any type and consistent height. For more on buttons, read the button guidance.

Customization

A button group set can consist of any combination of button types of the same button height.

Properties Customization Defaults
Initial focus Yes 0