# SplitButton (@salmonui/buttons/menu)

> The SplitButton function of @salmonui/buttons/menu: A primary Button and a menu trigger joined in one group: two tab stops; the trigger follows the Menu Button keys and Alt+ArrowDown on the primary part opens the menu too. tone, variant, size and disabled apply to both parts; other DOM props and onClick go to the primary button.

Canonical: https://salmonui.dev/docs/reference/buttons/menu/SplitButton

```ts
import { SplitButton } from '@salmonui/buttons/menu';
```

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

## Reference

Kind: function

```ts
function SplitButton(props: SplitButtonProps): ReactElement;
```

A primary `Button` and a menu trigger joined in one group: two tab stops;
the trigger follows the Menu Button keys and Alt+ArrowDown on the primary
part opens the menu too. `tone`, `variant`, `size` and `disabled` apply to
both parts; other DOM props and `onClick` go to the primary button.
