Measured entry

ruixen-verification-input

inputliquid-glassmotion on file

A client-side React verification-code field shipped as a shadcn registry component. It renders a visually split set of cells over one hidden native input, uses Motion for entry and focus animation, embeds its own light and dark theme styles, and can create a short Web Audio tick without a provider.

Specimen
Motion capture of the mounted demo, recorded by the harness. No audio track.
Harness screenshot of ruixen-verification-input at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of ruixen-verification-input at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of ruixen-verification-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-verification-input
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious1
Axe moderate0
Axe minor0
Gzip marginal63.8 KB (129.3 KB build, 65.5 KB baseline)
Bare modeOK
Provider requiredNO
Demo usedwritten from the component source API

Verdict

A polished starting point for a focused verification step, and it builds and mounts without shadcn infrastructure. Use it only after correcting the contrast issue and checking the unexplained blank wide-screen capture. Its narrow, uncontrolled API also makes it better for simple flows than form-heavy authentication systems.

Use it if

  • You need a self-contained numeric one-time-code field with paste and mobile autofill support.
  • Your flow benefits from animated digit feedback and an optional resend action.
  • You can accept an uncontrolled field and handle the completed code through a callback.

Skip it if

  • Your accessibility bar requires the supplied colors to pass contrast checks without modification.
  • You need controlled value, validation error, disabled, loading, or reset props from the component API.
  • You want to avoid adding Motion or browser-generated input sounds to an authentication screen.
  • You need confidence in very wide layouts without investigating the blank wide-viewport capture.

Install

Installation record for ruixen-verification-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 component file, install Motion, and ensure the framework supports client components. Add a dark class or data-theme attribute if needed, review the embedded color tokens for contrast, and decide whether to keep the Web Audio tick. Tailwind is only used by the demo wrapper, not the component itself.

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.