MentionJS
Interactive @mention autocomplete · Abortable search · Pagination · No runtime dependencies · Source & docs
ContentEditable Rich text
Type @ to browse. Try @Anna Iv or @Анна Ив to search a full name with spaces.
Search: idle
Committed mentions (string IDs)
[]
Textarea Plain text
Try @Anna Iva or @Мария Ва. Search continues across spaces; mention offsets use UTF-16 start and end.
Search: idle
Committed mentions (with offsets)
[]
Try these interactions
- @ shows the first page; type a full name with spaces, scroll the dropdown, or use ↓ to load more.
- Enter or Tab commits a selected person. Esc closes the dropdown. IME confirmation keys are left to the input method.
- Before comma resets that field and inserts @Alice Walker immediately before a comma, without adding an unwanted space.
- Use the buttons above to inspect, insert, and clear mentions using the public API.
- Searches run against local demo data only; no backend requests or account access.