Button Group
Join related buttons into a single group of actions.
Usage guide
#Use to group related actions, such as previous/next or alignment tools. To store a single selected value, use button-style Radio instead.
- Shared group settings
sizeandvariantare passed to child Buttons. Useverticalfor a vertical layout.- Individual button settings
- Set
disabledandtooltipon each Button.
Examples
#Feature examples
#Choose a feature from 4 topics. Explore property settings, method calls, event results, and slot layouts through live examples and code.
No matching features.
API reference
#Hover over a name or focus it with the keyboard to see the code. On touch screens, tap the name.
<sy-button-group>
Properties
| Attribute / Property | Type | Default | Description |
|---|---|---|---|
boolean | false | Arrange vertically. | |
'default' | 'primary' | 'secondary' | 'borderless' | 'default' | Component display style. | |
'small' | 'medium' | 'large' | 'medium' | Component size. |
Slots
| Slot | Description |
|---|---|
| Component body or child items. |