Skip to content

Button Group

The Button Group component is used to display a group of buttons.

Loading Code Block...
Loading Code Block...
horizontal
Loading Code Block...
default
Loading Code Block...
xs
Loading Code Block...
Loading Code Block...

PropsDefaultTypeDescription
typedefault'default' | 'stretch' | 'link'Sets the type of the button group.
layouthorizontal'horizontal' | 'vertical'The arrangement of the buttons in the group.
sizemd'xs' | 'sm' | 'md' | 'lg'Sets the size of the button group.
primaryButton{}objectSets the primary button of the button group. Takes the props text and onClick
secondaryButton{}objectSets the secondary button of the button group. Takes the props text and onClick
tertiaryButton{}objectSets the tertiary button of the button group. Takes the props text and onClick
icon
icon icon icon icon