Getting started

InstallUsageGuidelinesContributeRelease

Foundation

Navigation

Forms

ButtonButton GroupCheckboxCheckbox GroupClipboard ButtonComboboxEditable DescriptionEditable HeadingFile InputForm FieldIcon ButtonMulti SelectNumber InputRadioSearch InputSelectSliderSlug InputSwitchTag InputTextareaText Input

Button Group

A button group is a combination of multiple buttons related to each other.

#

#

#

Use left alignment in forms or other page content. This should be a default choice in most cases. Primary button is positioned first and secondary buttons are last.

#

Use center alignment in empty or error states. Primary button is positioned first and secondary buttons are last. Try to use no more than two buttons when button group is aligned to center.

#

Use right alignment in dialogs, wizards and toolbars. Secondary buttons are positioned first and primary buttons are last.

#

#

  • When there are at least two buttons positioned near each other.

#

  • When there's only one button in a group.

#

  • Only buttons are acceptable as children to this component.

#

Inherits margin props.

NameDefaultDescription
children

ReactNode

Buttons.

On this page

  • Example
  • Usage
  • Left alignment
  • Center alignment
  • Right alignment
  • Guidelines
  • When to use
  • When not to use
  • Content
  • Props