Skip to main content

Button Group

Join related buttons into a single control.

View as Markdown

Installation

Component API

PropTypeDefaultDescription
childrenReactNode-The buttons, spaced and rounded as one control.
The buttons, spaced and rounded as one control.
separatedbooleantrue
stretchbooleanfalseButtons share the full width instead of sizing to their labels.
Buttons share the full width instead of sizing to their labels.
iconbooleantrue
iconPositionleading | trailingleading
iconOnlybooleanfalse
shapenone | rounded | pillrounded
classNamestring-Merged with the group's own classes, so a utility you pass wins.
Merged with the group's own classes, so a utility you pass wins.