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.
Apple availability
Import LumenUI in the target that uses this component. iPad support follows the iOS package baseline and uses native iPad layout behavior.
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("Message", value: $value, 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