Semantics
A labelled group with real buttons and optional separators or text.
Forms and selection · stable · MIT
Related native buttons joined by quiet shared material.
Install editable source
Behavior contract
A labelled group with real buttons and optional separators or text.
Tab reaches each enabled button.
Light and dark themes, logical RTL layout, reduced motion, responsive content, and forwarded public refs.
Source-derived reference
These public React parts are read directly from the canonical source during the documentation build.
GummyButtonGroupGummyButtonGroupSeparatorGummyButtonGroupTextGummyButtonGroupPropsComposes React.HTMLAttributes<HTMLDivElement> & { label: string; orientation?: "horizontal" | "vertical"; attached?: boolean; }
GummyButtonGroupTextPropsComposes React.HTMLAttributes<HTMLSpanElement>
Troubleshooting
Live product source
The Component Lab exercises real source across default, focus, disabled, responsive, dark, reduced-motion, and RTL contexts.
Open the live Component LabInteractive inspection
Resize the canvas, switch its theme, or reverse its reading direction without changing the rest of the page.
Button Group preview: fluid width, light theme, left to right.
Editable source