Skip to content
AI & AgentsPro

Mention Picker

The @ picker for adding context to a prompt: files, people and channels in groups.

Usage

tabs.tsxpackages/react/src/components/ui
use-roving-focus.tspackages/react/src/hooks
JWJonas WeberDesigner
MKMara KleinEngineer
#design-system42 members
#releases18 members

Installation

bash
npm install @wunderui/react

Then import what you need:

tsx
import { MentionPicker } from "@wunderui/react"

Examples

Default

Grouped results; the first match is selected.

tabs.tsxpackages/react/src/components/ui
use-roving-focus.tspackages/react/src/hooks
JWJonas WeberDesigner
MKMara KleinEngineer
#design-system42 members
#releases18 members

In context

How the component is used inside real screens — the same compositions as the Usage section of the Figma page.

Mention context

Typing @ opens the picker; a chosen file, person or channel becomes a removable pill above the prompt.

tabs.tsxpackages/react/src/components/ui
use-roving-focus.tspackages/react/src/hooks
JWJonas WeberDesigner
MKMara KleinEngineer
#design-system42 members
#releases18 members
tabs.tsx#design-system

API Reference

PropTypeDefault
groups{ heading: string; items: MentionItem[] }[]—
querystring""
activeId / onActiveIdChangestring / (id: string) => voidfirst match
onSelect(item: MentionItem) => void—