Measured entry

ruixen-clean-tag-input

inputliquid-glassmotion on file

A client-side React tag field that adds entries on Enter and removes them by button or Backspace. It ships as a shadcn registry source file, keeps its own state, emits changes through a callback, injects light and dark theme CSS, uses Motion for transitions, and optionally creates feedback sounds with the Web Audio API.

Specimen
Motion capture of the mounted demo, recorded by the harness. No audio track.
Harness screenshot of ruixen-clean-tag-input at 375 pixels wide
Harness screenshot at 375 pixels wide. This viewport scrolled sideways.
Harness screenshot of ruixen-clean-tag-input at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of ruixen-clean-tag-input at 1440 pixels wide
Harness screenshot at 1440 pixels wide. No horizontal overflow recorded.

Measured

Every value below was written by the harness on the run that produced the frames above. None of it is derived from the prose.

Harness measurements recorded for ruixen-clean-tag-input
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowflagged at 375
Axe critical2
Axe serious1
Axe moderate0
Axe minor0
Gzip marginal63.9 KB (129.4 KB build, 65.5 KB baseline)
Bare modeOK
Provider requiredNO
Demo usedwritten from the component source API

Verdict

A polished interaction with a compact API and no provider requirement, but not production-ready as supplied. Fix the input and button labeling, strengthen muted text contrast, make its width fluid on narrow layouts, and decide whether sound should be opt-in before adopting it.

Use it if

  • You need a compact free-form tag field with animated add and remove behavior.
  • Your form can use an uncontrolled field initialized from default tags and consume updates through a callback.
  • You want light and dark styling without adopting a separate component provider.

Skip it if

  • You need a controlled value prop, validation, duplicate prevention, or a maximum tag limit.
  • You require accessible defaults, since the input lacks an associated label, remove buttons lack names, and muted text needs stronger contrast.
  • Your layout must fit narrow screens without adjustment, since the supplied fixed-width usage can overflow.
  • You do not want an animation dependency or browser-generated feedback sounds in a basic form control.

Install

Installation record for ruixen-clean-tag-input
Declared dependenciesmotion
Missing on installnone
Bare installbuilds and mounts without the shadcn-style helpers
Providerno provider required in the harness

In a non-shadcn React project, copy the client component into your source tree and install Motion. Preserve its injected CSS and theme selectors, render it on the client, and connect its change callback to your form. Add accessible labels and responsive width rules during integration.

Source and credit

This page is a review, not a copy. The component source lives with its author and this site does not republish it. Read the license before you use anything.

Alternatives

Other published entries for the input pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.