mention

Context, right where you type.

Headless mentions for React.

Each editor keeps its draft
Sample data

Arrow keys to browse. Enter to select. Esc to close.

Plain text. Native textarea.

Textarea integration
bun add @danielivanov/mention@^0.2.1
Start building

Start with your editor.

Use a native textarea, or connect a rich editor through an adapter. Your editor keeps its document and history.

Keep the input.
Add the context.

Mention handles detection, suggestions, and the popup. You own the data, rendering, and document.

Explore the API

Good context for your coding agent, too.

Give your agent typed examples and Markdown docs for the integration you're building.

Read the agent guide