Components
← All components

Tags Input

stimeo--tags-input

Turns what you type into tags, committed with Enter or a separator and removable afterwards.

  • Core

Turns what you type into tags. Enter or the separator you choose commits one, trimmed of surrounding spaces. An empty entry, one that is already there, or one past the limit is refused with the reason given, and duplicates can be allowed if you want them. Tags render from your template, so the look is yours and the remove button's name can be written per language. The row of tags is a single Tab stop, moved through with the left and right keys, and Delete removes one. Backspace in an empty field removes the last tag. The finished set is mirrored into hidden fields so your form submits it as usual.

running
    Press Enter or comma to add. Backspace on an empty field removes the last.

    Keyboard

    KeyAction
    Enter / Delimiter Commit the typed text as a tag.
    Backspace (empty input) Delete the last tag while retaining input focus.
    ← / → Move between tag remove buttons (past the end returns to input). Under RTL the two swap.
    Delete / Backspace (on a tag) Delete the focused tag.