Docs · Triggers

Triggers

Triggers turn characters into structured chips. Each preset opens a dropdown or fires a callback, and selections resolve into immutable, typed segments.

Examples

@Mentions

Type @ followed by a name to search users.

/Commands (start of line)

Type / at the beginning of a line to open the command menu.

#Tags (auto-resolve on space)

Type #tag and press space to auto-create a chip. Backspace reverts it.

Callback mode

Fire a callback that programmatically inserts a chip — e.g. open a file picker.

Debounced async search with AbortSignal cancellation and an empty state.

See the trigger-presets signatures in Hooks & Helpers for the full options.