fndn/ui

Components

Tags Input

Beta

A field that collects several values as tags, such as emails or keywords.

Details

A field that collects several values as tags: emails, labels, keywords. A field that collects values as tags: the Input's box holding a row of tags (the removable Tag) and a text input; the row wraps onto new lines. Enter or the delimiter adds the text as a tag, Backspace in an empty field selects the last tag and removes it on the second press, a double click edits a tag in place without moving anything. One focus ring, the field's: a selected tag takes the accent fill. Behaviour, focus and ARIA come from the Zag tags-input machine, through Ark UI.

Behaviour from Ark UI, the tags-input machine of Zag.