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.

Specimen
Motion capture of the mounted demo, recorded by the harness. No audio track.
Harness screenshot of ruixen-inline-copy-input at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of ruixen-inline-copy-input at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of ruixen-inline-copy-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-inline-copy-input
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical1
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal60.7 KB (126.1 KB build, 65.4 KB baseline)
Bare modeOK
Provider requiredNO
Demo usedwritten 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

Installation record for ruixen-inline-copy-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 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.

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.