AIMCP Server and Agent Skills included
React Mention for @mentions, now easier to build with AI
Let users tag people or topics by typing @, #, or any trigger character, with filtering, templates, grouping, disabled items, and Rich Text Editor integration. AI assistants set it up for you from the current docs.
- 4.5/5850+ G2 reviews
- 4.6/5950+ Capterra reviews
- WCAG 2.2and Section 508
- Anytrigger character
- Item and displaytemplates
Trusted by the world’s leading companies
Now easier with AI
Build mentions faster with AI
Coding assistants write the setup from the current docs, so you describe the lists and templates you need.
01For developers
Describe a mention list and get code that uses the documented API
The Syncfusion MCP server and Agent Skills give assistants in VS Code, Cursor, and JetBrains the current Mention docs and recommended patterns.
AI coding assistantMCP · Syncfusion React
Let users mention teammates in the comment box by typing @.
search_docs“React Mention mentions in any editable element” · 2 doc sections
+<div id="comment" contentEditable="true"></div>
+<MentionComponent target="#comment" dataSource={people}
+ fields={{ text: 'name', value: 'id' }} />
Documented API: target, dataSource, fields
ResultRendered in your app
AI coding assistantMCP · Syncfusion React
Add a # list for project tags next to the @ list for people.
search_docs“React Mention multiple trigger characters” · 2 doc sections
<MentionComponent target="#comment" dataSource={people}
/>
+<MentionComponent target="#comment" mentionChar="#"
+ dataSource={tags}
+ requireLeadingSpace={false} />
Documented API: mentionChar, requireLeadingSpace
ResultRendered in your app
AI coding assistantMCP · Syncfusion React
Show each person with their role in the list, and insert the name as a styled tag.
search_docs“React Mention item and display templates” · 2 doc sections
+<MentionComponent target="#comment" dataSource={people}
+ itemTemplate={(p) => <span>{p.name} · {p.role}</span>}
+ displayTemplate={(p) => <b>@{p.name}</b>} />
Documented API: itemTemplate, displayTemplate
ResultRendered in your app
AI coding assistantMCP · Syncfusion React
Show people who are away in the list, but stop users from selecting them.
search_docs“React Mention disabled items” · 2 doc sections
+<MentionComponent target="#comment" dataSource={people}
+fields={{ text: 'name', value: 'id', disabled: 'away' }} />
Documented API: fields, disabled
ResultRendered in your app
AI coding assistantMCP · Syncfusion React
Add @mentions to the Rich Text Editor, with a space after each mention.
search_docs“React Mention rich text editor integration” · 2 doc sections
<RichTextEditorComponent
id="editor">…</RichTextEditorComponent>
+<MentionComponent target="#editor_rte-edit-view"
+ dataSource={people}
+ suffixText=' ' showMentionChar={false} />
Documented API: target, suffixText, showMentionChar
ResultRendered in your app
AI coding assistantMCP · Syncfusion React
Open suggestions after two characters, sort them by name, and show at most eight.
search_docs“React Mention filtering and sorting suggestions” · 2 doc sections
+<MentionComponent target="#comment" dataSource={people}
+ minLength={2}
+filterType="StartsWith" sortOrder="Ascending"
+ suggestionCount={8}
+ allowSpaces={true} highlight={true} />
Documented API: minLength, filterType, sortOrder, suggestionCount, allowSpaces, highlight
ResultRendered in your app
AI coding assistantMCP · Syncfusion React
Load the contact names from our OData service and show the first six.
search_docs“React Mention remote data” · 2 doc sections
+const contacts = new DataManager({
+url:
+ 'https://services.odata.org/V4/Northwind/Northwind.svc/',
+ adaptor: new ODataV4Adaptor, crossDomain: true });
+const query = new
+ Query().from('Customers').select(['ContactName']).take(6);
+<MentionComponent target="#comment"
+ dataSource={contacts} query={query}
+ fields={{ text: 'ContactName' }} />
Documented API: dataSource, query, fields
ResultRendered in your app
AI coding assistantMCP · Syncfusion React
Group the people list by team and show an icon next to each name.
search_docs“React Mention grouping and icons” · 2 doc sections
+<MentionComponent target="#comment" dataSource={people}
+fields={{ text: 'name', groupBy: 'team', iconCss: 'icon' }} />
Documented API: fields, groupBy, iconCss
ResultRendered in your app
Accessibility
Accessible to keyboard and screen reader users
The React Mention component follows WAI-ARIA practices, with keyboard access and screen reader support.
- Standards
- WCAG 2.2 and Section 508
- Keyboard
- Arrow keys, Esc, Enter, Tab
- Screen readers
- aria-selected and aria-activedescendent
- Layout
- Right-to-left and mobile support
Features in depth
React Mention features in depth
Open a demo to try each one, or the docs to see the API.
Filtering: minimum length, filter type, and spaces
The minLength option waits until users type enough characters, and filterType matches with Contains, StartsWith, or EndsWith. Set allowSpaces to search full names, and highlight to mark matched characters.
Grouping, sorting, icons, and suggestion count
Group suggestions with the groupBy field, add icons with iconCss, sort with sortOrder, and limit how many appear with suggestionCount.
Rich Text Editor and Markdown Editor integration
Point target at the editor’s editable area to tag people while composing content. The suffixText option adds a space after each mention, and showMentionChar keeps or drops the @.
Popup size and themes
Set popupWidth and popupHeight for the suggestion list and add a cssClass to style it. Brand the Tailwind CSS, Bootstrap, Material, and Fluent themes in Theme Studio.
Accessible and localized
WAI-ARIA attributes, keyboard navigation with the arrow keys, Enter, and Esc, right-to-left layouts, and localized empty-list text. The component meets WCAG 2.2 and Section 508.
Get started
Get your first mention running, with or without AI
With an AI coding assistant
- Connect the Syncfusion MCP serverWorks in VS Code, Cursor, JetBrains, and other MCP-compatible assistants.Set up the MCP server
- Add Agent Skills to your projectYour agent follows Syncfusion’s recommended Mention patterns.Install Agent Skills
- Describe the mentionCopy this prompt to start.
Add a Syncfusion React Mention to my comment box so typing @ lists teammates with their roles, typing # lists project tags, and a space follows each mention.
By hand, in three steps
1 · Install
npm install @syncfusion/ej2-react-dropdowns @syncfusion/ej2-tailwind3-theme --save
2 · src/App.css
@import '../node_modules/@syncfusion/ej2-tailwind3-theme/styles/mention/index.css';
3 · src/App.tsx
import { MentionComponent } from '@syncfusion/ej2-react-dropdowns';
import './App.css';
const people = [{ id: 1, name: 'Ana Silva' }, { id: 2, name: 'Ben Carter' }];
export default function App() {
return (
<>
<div id="comment" contentEditable="true" className="comment-box"></div>
<MentionComponent target="#comment" dataSource={people} fields={{ text: 'name', value: 'id' }} />
</>
);
}
Works withReact 15.5.4 or laterTypeScript and JavaScriptNext.jsRemixGatsbyVitePreactSystem requirements
Customer reviews
Trusted by developers and teams
“Awesome, enough said”
Easy usability, solving real-life problems, easy to implement. Most of the cases have the operators and settings possibilities you need right away.
“A giant framework with great pricing options”
I have loved the components and options that Syncfusion has; besides, its documentation, demos, and support are excellent.
- 75%
- lower costs
- 50%
- faster development
Customer story · Igniatek
Igniatek cuts development time 50% and costs 75% with Essential Studio®
“I would definitely recommend Syncfusion for anyone who is trying to develop something meaningful.”
Somnath Maji, Founder, Igniatek Consultancy
Award-winning
Including the 2026 Devies Award, Capterra Shortlist 2026, Software Advice FrontRunners 2026, and G2 Best Software 2025.
Complete feature list
Every mention feature, included in the license
- Every feature includedNo separate enterprise edition
- Royalty-freeNo runtime or deployment fees
- Weekly patchesPlus regular feature releases
- Expert supportFrom Syncfusion engineers
Showing all 34 features. Each one opens its demo or documentation.
Triggers and filtering
Templates and appearance
Editor integration
Accessibility and localization
No feature matches that search. Try another word, or open the Mention demos.
Related components:React Rich Text EditorReact Chat UIReact AutoComplete
Questions and answers
React Mention FAQ
What is the React Mention?
The Syncfusion React Mention shows a suggestion list when users type a trigger character such as @ in an editable element. It inserts the chosen name or tag into the text. Explore the demos
How is the Mention different from the AutoComplete?
The AutoComplete is a form input whose value is the selected item. The Mention attaches to text people are writing and inserts a tag wherever they type the trigger character, so one comment can hold several mentions. React AutoComplete
How do I add mentions in React?
Install @syncfusion/ej2-react-dropdowns and the Tailwind 3 theme, import the mention theme CSS, and render MentionComponent with a target and a dataSource. The getting started section on this page shows each step. Read the getting started guide
Which elements can the Mention attach to?
The target property accepts a content-editable element, a text area, or a text box, including the editable area of the Rich Text Editor and the Markdown Editor. Rich Text Editor mention demo
Can I use a character other than @?
Yes. Set mentionChar to any character, such as # for tags, and add one Mention for each list on the same target. Multiple lists demo
How do I load suggestions from a server?
Bind a DataManager with an adaptor such as ODataV4Adaptor to dataSource, and use query to select fields or limit results. Set minLength so requests start only after users type a few characters. Read about data binding
How do I change how suggestions and mentions look?
Use itemTemplate for each list item and displayTemplate for the inserted value. The noRecordsTemplate and spinnerTemplate options cover empty results and loading. Read about templates
Can users search for names that contain spaces?
Yes. Set allowSpaces to true so a space does not end the search, and the list keeps matching full names. Read about filtering
Can I control the text inserted with a mention?
Yes. The suffixText option appends a space or a new line after the mention, and showMentionChar keeps the trigger character in the inserted text. Read about customization
Is the React Mention accessible?
Yes. It follows WAI-ARIA practices and WCAG 2.2, with keyboard navigation through the list, screen reader support, and right-to-left layouts. Read about accessibility
Can AI coding assistants build with the React Mention?
Yes. The Syncfusion MCP server and Agent Skills give assistants in VS Code, Cursor, and JetBrains the current Mention docs and recommended patterns. You need a Syncfusion API key and an active license, which can be a commercial, Community, or trial license. Set up the MCP server
Is the Syncfusion React Mention free?
It is a commercial component with a 30-day free trial. A free Community License is available for companies and individuals with less than $1 million USD in annual gross revenue, five or fewer developers, and 10 or fewer total employees. Check Community License eligibility
Resources
React Mention resources
Mention for other frameworks:AngularBlazorJavaScriptVue
More React components:Rich Text EditorChat UIAutoCompleteAll 140+ React components