# Submenu (@salmonui/buttons/menu)

> The Submenu function of @salmonui/buttons/menu: An item that opens a nested menu: ArrowRight (ArrowLeft in RTL), Enter or Space open it and focus its first item; ArrowLeft or Escape close it; the pointer opens it after a 200 ms rest.

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

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

An item that opens a nested menu: ArrowRight (ArrowLeft in RTL), Enter or
Space open it and focus its first item; ArrowLeft or Escape close it; the
pointer opens it after a 200 ms rest.
