ButtonGroup

Button

Grouped button layout with shared borders, orientation control, and seamless visual connection between actions

Horizontal Groups

Vertical Groups

Sizes & Full Width

Contextual Usage

Confirm Action

Are you sure you want to proceed?

Usage Guidelines

When to Use

  • Related actions
  • Toolbar buttons
  • Toggle options

Accessibility

  • Grouped buttons semantics
  • Focus navigation between buttons

Performance

  • Minimal wrapper DOM
  • CSS-only grouping styles

Common Mistakes

  • Mixing different button sizes
  • Too many buttons in group

Frequently Asked Questions

View on GitHub

See the full source code on GitHub