Measured entry

ruixen-glass-form

switchliquid-glassmotion on file

A client-side React form kit shipped as a shadcn registry component, with grouped fields, switches, segmented controls, and buttons. It embeds its glass CSS, uses Motion for entrance and control animation, reads primary theme variables, and can create Web Audio ticks for interactions.

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

Verdict

A cohesive, ready-to-mount form treatment with useful composable parts, but not a drop-in production choice. Narrow-screen overflow and insufficient text contrast need correction, and the default interaction sound deserves an explicit product decision.

Use it if

  • You want an account or preferences form with a consistent liquid-glass treatment.
  • Your product already uses Motion and can supply compatible primary theme variables.
  • You can test and tune the layout for narrow mobile screens before release.

Skip it if

  • Your form must fit narrow screens without component-level responsive changes.
  • You need a component that already clears color-contrast checks without theme tuning.
  • You want native form controls with no animation or interaction sounds.
  • You cannot justify adding Motion for a single form treatment.

Install

Installation record for ruixen-glass-form
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, install Motion, and define compatible primary and primary-foreground CSS variables. Ensure client rendering is enabled where required. No context provider is needed; disable sound through the form prop if 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.

Alternatives

Other published entries for the switch pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.