Measured entry
ruixen-correct-number-input
inputliquid-glassmotion on file
A client-side React quantity field shipped as a shadcn registry component. It combines an internally managed text input, floating label, bounded stepper controls, Motion animation, injected light and dark CSS, and an optional Web Audio tick. It depends on React and the Motion package, with no provider required.



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.
| Build | OK |
|---|---|
| Mount | OK |
| Console errors | 0 |
| Uncaught page errors | 0 |
| Horizontal overflow | clean at 375, 768, 1440 |
| Axe critical | 2 |
| Axe serious | 1 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 62.3 KB (127.8 KB build, 65.5 KB baseline) |
| Bare mode | OK |
| Provider required | NO |
| Demo used | written from the component source API |
Verdict
It builds and mounts without special project scaffolding, but it is not production-ready unchanged. The interaction model is useful and self-contained, yet the missing accessible names and label association, weak contrast, and blank widest capture require investigation and fixes before release.
Use it if
- You need a compact quantity or amount field with configurable bounds, stepping, and a change callback.
- You want a liquid-glass presentation and are comfortable adopting its embedded styles and entrance animation.
- Your form can use internally managed state initialized by a default value.
Skip it if
- You need an accessible control without modification, since the input lacks an associated label, the icon buttons lack accessible names, and some text contrast is insufficient.
- You require a fully controlled field, because the component exposes a default value and callback but no value prop.
- You need dependable visibility across wide layouts, since the widest harness capture rendered blank.
- Your product cannot use browser-generated audio feedback or include the Motion dependency.
Install
| Declared dependencies | motion |
|---|---|
| Missing on install | none |
| Bare install | builds and mounts without the shadcn-style helpers |
| Provider | no provider required in the harness |
In a non-shadcn React project, add the Motion package, copy the client component into the app, and ensure the bundler supports client directives and CSS injected from JSX. Add a real label association, accessible names for both stepper buttons, stronger contrast, and disable or remove the Web Audio tick if sound is unsuitable.
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.
Author repository
github.com/ruixenui/ruixen.comAlternatives
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.
- clay-inputclaymorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 17.9KB
- Bare
- pass
- Prov
- NO
- neu-search-inputneumorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 18.1KB
- Bare
- pass
- Prov
- NO
- clay-search-inputclaymorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 18.3KB
- Bare
- pass
- Prov
- NO
- originui-comp-33minimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 20.7KB
- Bare
- pass
- Prov
- NO
- hextaui-labelminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 31.3KB
- Bare
- pass
- Prov
- NO
- ruixen-circular-stepper-inputliquid-glass
- Renders
- YES
- A11y
- 0
- Gzip
- 61.1KB
- Bare
- pass
- Prov
- NO