Did you know?dyk.si

Tag Input (Token Field)

A field where each word you type turns into a small removable capsule.

Also known as: Token Field

<input> + list of <button>s

When to use it

For tags, recipients, skills.

Common mistake

Don’t leave the tag limit unclear.

Accessibility

Backspace on empty input removes the last tag; announce additions.

Name in code

HTML/CSS<input> + list of <button>s
React<TagsInput>
Jetpack ComposeFlowRow(InputChip) + TextField
SwiftUITokenField (macOS) / custom

Ready prompt for your coding agent

Add a Tag Input (Token Field) to this screen. What it is: A field where each word you type turns into a small removable capsule. Implement with: <input> + list of <button>s (HTML/CSS). Accessibility: Backspace on empty input removes the last tag; announce additions. When to use it: For tags, recipients, skills. Avoid: Don’t leave the tag limit unclear. Reuse the project's existing design tokens, spacing and component conventions.

Or compose a whole page from this element and others →

Prompts are in English for the most precise results with coding agents.