Skip to main content
Skip table of contents

Grouped Button

Overview

Grouped button wraps a series of Button together into a single line with the ButtonGroup. When you drag & drop Grouped Button, UI Preview will appear as a group of three buttons. You can add more than three buttons if you want, then adjust each button in the Property panel.

Document -  Guides - Dart-IDE - Basic Component - Grouped button

Import

CODE
import { Button, ButtonGroup } from '@mui/material';

The above source will be imported automatically after dragging and dropping the Basic Component to the UI Preview Panel.

Code Sample:

CODE
<ButtonGroup>
      <Button color="primary">Page 1</Button>
      <Button color="secondary">Page 2</Button>
      <Button color="success">Page 3</Button>
</ButtonGroup>

 

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.