Measured entry
ruixen-inline-copy-input
inputliquid-glassmotion on file
A client-side React copy control styled as a liquid-glass pill. It ships as a shadcn registry component with embedded CSS and inline styles, depends on Motion for transitions, and uses the browser Clipboard API plus optional Web Audio feedback. Despite its name, the displayed value is not editable.



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 | 1 |
| Axe serious | 0 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 60.7 KB (126.1 KB build, 65.4 KB baseline) |
| Bare mode | OK |
| Provider required | NO |
| Demo used | written from the component source API |
Verdict
A polished, focused copy control that builds and mounts cleanly on its own, but it is not ready to ship unchanged. Add an accessible button name, decide whether sound should be enabled by default, and treat it as a display-and-copy widget rather than a true input.
Use it if
- You need a compact copy affordance for commands, tokens, invite codes, or other read-only values.
- Your interface already uses glass effects and Motion-based interaction feedback.
- You want light and dark styling without adding a separate component stylesheet.
Skip it if
- Users need to edit the value, because this renders text rather than an input field.
- You cannot fix the icon-only copy button with an accessible name before release.
- You want to avoid Motion and browser audio machinery for a small copy action.
- Your design system forbids embedded global CSS or direct hover-style mutation.
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 client component into your source tree and add Motion. Ensure it runs in the browser with Clipboard access, add an accessible label to the copy button, and disable or adapt the Web Audio cue if your product does not use interaction sounds.
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