# MenuButton (@salmonui/buttons/menu)

> The MenuButton function of @salmonui/buttons/menu: APG Menu Button: a Button that opens a menu (aria-haspopup="menu", aria-expanded, aria-controls while open). Enter, Space and ArrowDown open it on the first item, ArrowUp on the last.

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

```ts
import { MenuButton } 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 MenuButton(props: MenuButtonProps): ReactElement;
```

APG Menu Button: a `Button` that opens a menu (`aria-haspopup="menu"`,
`aria-expanded`, `aria-controls` while open). Enter, Space and ArrowDown
open it on the first item, ArrowUp on the last.
