All components

Token Input

Rich text field that mixes editable prose with removable atomic tokens in outline, subtle, and plain styles.

Assign ​@Elena Park mention​ to ​#design-tokens tag​ before launch.

Variants

Assign ​@Elena Park mention​ to ​#design-tokens tag​ before launch.
outline
Assign ​@Elena Park mention​ to ​#design-tokens tag​ before launch.
subtle
Assign ​@Elena Park mention​ to ​#design-tokens tag​ before launch.
plain

Sizes

Assign ​@Elena Park mention​ to ​#design-tokens tag​ before launch.
sm
Assign ​@Elena Park mention​ to ​#design-tokens tag​ before launch.
md
Assign ​@Elena Park mention​ to ​#design-tokens tag​ before launch.
lg

Controller & select-to-delete

Insert atomic @mention and #tag tokens programmatically with createTokenInputController(). Press Backspace once next to a token to select it, and a second time to delete.

Assign ​@Elena Park mention​ to ​#design-tokens tag​ before launch.
Assign [@@Elena Park](mention:elena) to [@#design-tokens](tag:design-tokens) before launch.

Install

Source

components/ui/ui-sdk/token-input.tsx

Examples

Installable blocks built with Token Input — real use cases, delivered as source you own.

AI Chat Landing

Zero-state AI entry surface centered on a single composer with a collapsible attachment drawer, @ mention and / command typeahead, mode menus, and category-driven suggestion cards.