Skip to Content
Forms & Inputs@hacline/ui/token-input

TokenInput

Insert and manage structured references inline inside editable text.

Usage

Edit the sentence inline or remove attached file chips via their adjacent clear buttons. renderToken customizes token presentation while preserving plain-text and token order.

Please review ​delivery-plan.md File​ checklist items.

Inserting Collaborator Mentions

Type @ to select a collaborator. The trigger menu inserts candidates as individually removable person tokens.

Invite

Parts

PartDescriptionExtended Props
TokenInputEditor
The editable text. The core owns its content; style it, and show the placeholder with data-empty.
size
TokenInputToken
A token's content, inside renderToken, with its state for styling.—
TokenInputTokenRemove
Removes its token when pressed. Hidden from assistive technology: the keyboard's way is Backspace.—

Props

Prop

Type

View UI SDK parts and state attributes.