Button Group
Displays multiple buttons in a layout.
Anchor to propertiesProperties
- Anchor to accessibilityLabelaccessibilityLabelstring
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>
Examples
Code
Default
<s-button-group> <s-button>Cancel</s-button> <s-button variant="primary">Save</s-button> </s-button-group>