Skip to content
Hazine

Tag and token inputs

1 of 5 shipped. Each take is a different structure, and the note under its title says how.

  • tag and token inputs

    Unconstrained chip entry in one wrapping box with delimiter keys, duplicate rejection and a two step Backspace, with no per-tag validation and no suggestion popup.

    shadcn add @hazine/tag-input-free-text

    Depends on @hazine/use-controllable-state, lucide-react

Planned 4

  • Validated Email Token Input

    Per-token validation with an invalid visual state and in-place token editing, plus a summary error counting invalid entries.

  • Tag Input with Suggestions

    Adds a combobox popup with filtering and a create-new row, so tags come from a known vocabulary first.

  • Tag Input with Paste Review

    Bulk entry goes through an intermediate review step with grouped results and a single undoable commit, instead of turning every pasted fragment straight into a chip.

  • Reorderable Token Input

    Tokens are sortable with both pointer drag and a full keyboard pick-up, move and drop model.