Button Group

Groups related actions with shared layout settings and individually styled buttons.

Use this page as both implementation documentation and a visual regression fixture. Compare the editor canvas with the published page at every responsive breakpoint.


Basic example


Option examples

Group colors and styles

Shared semantic tone and hollow style applied at group level.

Sizes

Tiny, small, default, and large groups.

Alignment

Centered and right-aligned groups.

Equal width and joined

Expanded distributes width equally; no gaps visually joins adjacent actions.

Responsive stacking

Small-only, small-and-medium, and always-stacked configurations.


Available options

OptionPurpose and values
Add buttonsUse the nested block inserter to add Button blocks.
Style, color, and sizeDefaults applied to the group; each button can override color.
AlignmentLeft, center, right, or justified.
StackStacks at selected responsive breakpoints.
Equal widthMakes every button consume an equal share.
Remove gapsJoins adjacent buttons without gutters.
AdvancedHTML anchor and additional CSS classes are available when supported by the block.

Editor workflow

  • Select the outer component to configure system-wide behavior in the block sidebar.
  • Select a nested item to configure content-specific behavior.
  • Use List View to add, reorder, duplicate, or remove nested items.
  • Preview desktop, tablet, and mobile widths before publishing.

Verification checklist

  • Editor and front-end appearance match.
  • Keyboard navigation and visible focus states work.
  • Text, labels, and controls remain readable at 200% zoom.
  • Small, medium, and large layouts behave as documented.
  • Saved markup contains no unexpected inline styling or invalid blocks.

Rounded button group

Rounded outer corners

The first and last buttons receive the outer rounded edges. Middle buttons stay square.