Button group that perform related actions or belong to the same category. This helps users quickly understand their purpose and reduces cognitive load.
ButtonGroup component. They need to be immediate children.outline.sm, md, lg and responsive and can be changed by passing the size prop.lg.responsive, the component will be responsive to the viewport.Screen prefix | Screen width | Component size |
|---|---|---|
|
| sm |
|
| md |
|
| lg |
disabled prop to true.loading prop to true of each button.ButtonGroup can also be used to create a split button. The dropdown can change the button action (as in this example) or be used to immediately trigger a related action.