Agentic Design System
v3.5.0

Components · Forms · Mention

Back to Mention types

Mention

Owner: Design System Team · Version: v3.5.0

Use for a comment or message field where someone can tag another person inline, like "Hey @Jordan, can you review this?", without replacing the rest of the free-form text.

Properties

Size, corner radius, label and placeholder are properties of the same component, not separate fields - change them below to check this field's style and states in the Live Preview.

Size
Corner radius
Allow clear
Required
Supporting text

Live Preview

Both types compared side by side, each in all 9 states. One full matrix is rendered per selected combination of Size and Corner radius - check more than one option in a dropdown to see every combination side by side.

When to use

Any free-form text field where someone needs to tag or notify another person inline, mixed in with the rest of the message.

Comments Team chat Task assignment Code review Support ticket

Validation

Mention adds async suggestion states on top of whatever validation the underlying text field needs - what shows while matches are being fetched, what shows when there are none, and whether an unresolved "@" fragment is allowed to stand.

Component Guide

Overview

Mention is a free-form text field that lets someone tag another person inline by typing "@" followed by a name, inserting a distinct chip in the middle of otherwise normal text - used for comments, chat, and any message field where notifying a specific person matters.

When to Use

  • Comments and team chat - tagging a teammate inline within a message.
  • Task assignment through free text - "assign to @Jordan" inside a longer note.
  • Code review and support ticket threads - notifying a specific reviewer or agent.

When Not to Use

  • A field whose sole purpose is picking one person from a list - use Select or Autocomplete instead of a full free-text field with an embedded picker.
  • Plain free-form text with no need to tag anyone - use Input or Text Area - the "@" trigger adds complexity that's wasted if never used.
  • Tagging concepts, labels, or categories rather than people - use Tag or a multi-select Select instead of overloading the mention pattern.

Best Practices

  • Trigger the suggestion panel immediately on "@" and filter it live as the user keeps typing a name.
  • Render an inserted mention as a visually distinct chip, not plain text, so it's unambiguous who was tagged.
  • Let the user keep typing free-form text before and after a mention - it should never take over the whole field.

Do and Don't

Do

Ping @ali
AKAli Khan
ARAlice Reed

Full name alongside the handle, so the right person is picked when two accounts start the same way.

Don't

Ping @ali
@ali
@ali2

Handles alone give the user no way to tell the two apart, so the notification goes to the wrong person.

Accessibility

  • The suggestion panel is reachable by keyboard (arrow keys to move, Enter to insert, Escape to dismiss) without ever requiring a mouse.
  • An inserted mention chip is announced as a distinct, named entity by screen readers, not read as raw "@username" text.
  • The field's placeholder or label makes the "@" trigger discoverable for first-time users.

Related Components

Autocomplete, Text Area, Input, Tag.