A mini button group is a horizontal arrangement of mini buttons.

| Number | Type | Description | Optional | Info |
|---|---|---|---|---|
| 1 | Component | sbb-mini-button | No | |
| 2 | Component | sbb-divider | Yes |
The sbb-mini-button-group component displays a set of sbb-mini-button
optionally separated by a sbb-divider.
<sbb-mini-button-group accessibility-label="...">
<sbb-mini-button icon-name="..." aria-label="..."></sbb-mini-button>
<sbb-mini-button icon-name="..." aria-label="..."></sbb-mini-button>
<sbb-divider orientation="vertical"></sbb-divider>
<sbb-mini-button icon-name="..." aria-label="..."></sbb-mini-button>
</sbb-mini-button-group>
The component has a negative variant which can be set using the negative property.
There are four available sizes: s, m (default), l and xl.
<sbb-mini-button-group negative size="l"> ... </sbb-mini-button-group>
Use the accessibility-label property to describe the purpose of the sbb-mini-button-group for screen-reader users.
If sbb-divider components are used as separators, their aria-hidden property is automatically set to true
to ensure that the button list is read by screen readers with the correct size.
| Name | Attribute | Privacy | Type | Default | Description |
|---|---|---|---|---|---|
accessibilityLabel | accessibility-label | public | string | '' | This will be forwarded as aria-label to the list that contains the buttons. |
negative | negative | public | boolean | false | Negative coloring variant flag. |
size | size | public | SbbMiniButtonGroupSize | 'm' / 's' (lean) | Size variant, either s, m, l or xl. |
| Name | Description |
|---|---|
Use the unnamed slot to add sbb-mini-button and sbb-divider elements. |