Button Group
A simple way to implement button groups.
Examples
When to use Button Group
Use when
You need the documented Button Group interaction or presentation in a product workflow.
Avoid when
A native HTML element already provides the Button Group behavior you need.
Accessibility
Keep the Button Group labeled and use its documented keyboard interaction. The component preserves visible focus and communicates state without relying on color alone.
- Keep keyboard focus visible and follow the documented key commands.
- Provide an accessible name and connect descriptions or errors to the control.