React SDK

ButtonGroup

The ButtonGroup component is used to group related Button components.

Usage

Editable Example

Attached

Use the attached prop to attach the buttons together. This will take care of border radius of the child buttons and raise a focused button in the group so box shadow and border are layered correctly.

Editable Example

Props

The ButtonGroup composes the Box component so you can pass props for Box. These are props related to the Button component.

NameTypeDefaultDescription
attachedbooleanWhether to attach the buttons together.