# ButtonGroup (@salmonui/buttons/button)

> The ButtonGroup function of @salmonui/buttons/button: A visual group of buttons: role="group", named by aria-label or aria-labelledby. It adds no keyboard model: every button stays a tab stop. .salmon-button-group with data-orientation and data-attached.

Canonical: https://salmonui.dev/docs/reference/buttons/button/ButtonGroup

```ts
import { ButtonGroup } from '@salmonui/buttons/button';
```

Entry index: https://salmonui.dev/docs/reference/buttons/button (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/buttons/button.md).

## Reference

Kind: function

```ts
function ButtonGroup({ children, orientation, attached, variant, tone, size, disabled, className, ...rest }: ButtonGroupProps): ReactElement;
```

A visual group of buttons: `role="group"`, named by `aria-label` or
`aria-labelledby`. It adds no keyboard model: every button
stays a tab stop. `.salmon-button-group` with
`data-orientation` and `data-attached`.
