Measured entry
ruixen-input-with-select
inputliquid-glassmotion on file
A client-side React amount input joined to a segmented currency or unit selector. It ships as a shadcn registry component but keeps its styling inline, uses Motion for entrance and spring transitions, and can create Web Audio feedback when the selection changes.



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 | flagged at 375 |
| Axe critical | 0 |
| Axe serious | 1 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 59.3 KB (124.7 KB build, 65.4 KB baseline) |
| Bare mode | OK |
| Provider required | NO |
| Demo used | written from the component source API |
Verdict
A polished niche control that builds and mounts without framework helpers, but it is not drop-in for production forms. Fix the narrow-screen overflow, raise muted-text contrast, and add explicit input and selector semantics before shipping it.
Use it if
- You need a compact amount field with a small, fixed set of currencies or units.
- Your React interface already uses Motion and can accommodate a client component.
- You want an uncontrolled field with selection changes reported through one callback.
- You can tune the muted text colors and add the form semantics your product requires.
Skip it if
- The field must fit reliably on narrow phone layouts without responsive changes.
- You need accessible contrast and fully associated labels out of the box.
- Your form architecture requires a controlled value, validation state, or standard select semantics.
- You do not want Motion or optional Web Audio behavior in a basic input control.
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, copy the component into the app, install Motion, and render it from a client-capable entry. No shared shadcn utilities or provider are required. Disable the sound prop if Web Audio feedback is unwanted.
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