logo

SINGULARITY

DOCS

PurchaseReturn to the Dashboard
Reference

Button Group

The ButtonGroup component allows for the grouping of related buttons into a single unit.

Basic button group

Buttons can be grouped by enclosing them within the ButtonGroup component, where they must be direct children.

Button variants

All standard button styles are supported.

Sizes and colors

The size and color props allow customization of the button group's appearance.

Vertical group

The button group can be arranged vertically by utilizing the orientation prop.

Split button

The ButtonGroup component can be used to create a split button, where the dropdown can modify the button's action (as shown in this example) or trigger a related action immediately.

Disabled elevation

The disableElevation prop can be used to remove the elevation effect from the button group.

Loading

The loading prop on the Button component can be used to place buttons in a loading state, preventing user interactions.