# MentionMenu

> Island suggesting people to mention while a message is written: typing `@` at the start of a word in the composer opens a list above it, filtered as the handle is typed, and picking someone writes `@handle`.

```ts
import { MentionMenu } from "@sdxc/ui/chat";
```

Renders the list as a manual popover anchored above the composer. While it is open the
field acts as its combobox: ArrowUp and ArrowDown move, Enter or Tab writes the active
person's handle, Escape closes, and Enter never sends the message.

## Examples

```tsx
<Composer method="post">
	<Composer.Input name="body" aria-label="Message" />
	<MentionMenu people={members} labels={{ list: "People", empty: "Nobody matches" }} />
</Composer>
```

## Props

Takes no props of its own.
