Skip to main content

ButtonGroup

Displays multiple buttons in a layout.

string

Label for the button group that describes the content of the group for screen reader users to understand what's included.

"base" | "none"

The gap between elements.

Was this section helpful?

Code

<s-button-group>
<s-button>Cancel</s-button>
<s-button variant="primary">Save</s-button>
</s-button-group>

Preview