When to use it
Hosts control text and UTF-16 selection atomically. Native iOS and Android composition is preserved; React Native hosts supply isComposing when available. ASCII mention values use literal filtering and safe token boundaries.
Insert literal mention suggestions into controlled native multiline text.
Native example
Hosts control text and UTF-16 selection atomically. Native iOS and Android composition is preserved; React Native hosts supply isComposing when available. ASCII mention values use literal filtering and safe token boundaries.
<LumenMentions label="Message" value={value} onValueChange={setValue} options={options} />Reference
The primary shared and platform-specific options exposed by LumenMentions.
| API | Values or type | Default | Description |
|---|---|---|---|
| value / options / trigger | Controlled text and selection / stable suggestions / literal trigger | Required / required / @ | Preserves host state and inserts enabled validated suggestions. |
Native behavior
Hosts control text and UTF-16 selection atomically. Native iOS and Android composition is preserved; React Native hosts supply isComposing when available. ASCII mention values use literal filtering and safe token boundaries.
Named multiline input and enabled suggestion actions with controlled selection.
Shared component