Skip to main content

Button Group

<gstock-button-group> | GstockButtonGroup

API

Properties

Name Description Reflects Type Default
disabled Disables the buttons. Reflects boolean false
label A label to use for the button group. This won’t be displayed on the screen, but it will be announced by assistive devices when interacting with the control and is strongly recommended. string ''
size The size of the buttons in the group. Reflects 'small' | 'medium' | 'large' 'medium'
vertical Manages if the group should be display vertical or not. boolean false
color The color of the buttons in the group. Reflects 'brand' | 'neutral' | 'information' | 'success' | 'warning' | 'danger' 'brand'
variant The variant of the button in the group. Reflects 'outlined' | 'plain' | 'solid' 'solid'
updateComplete

A read-only promise that resolves when the component has finished updating.

Learn more about attributes and properties .

Slots

Name Description
default Displays the button components.

Learn more about slots .