Measured entry

ruixen-glass-ai-card

buttonliquid-glassmotion on file

A client-side React card that pairs animated skeleton rows with a liquid-glass action button. It ships as a shadcn registry file with its styles embedded in the component, depends on Motion for button feedback, and optionally uses the browser Web Audio API for a click sound.

Specimen
Motion capture of the mounted demo, recorded by the harness. No audio track.
Harness screenshot of ruixen-glass-ai-card at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of ruixen-glass-ai-card at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of ruixen-glass-ai-card 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-ai-card
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal59.5 KB (124.9 KB build, 65.4 KB baseline)
Bare modeOK
Provider requiredNO
Demo usedwritten from the component source API

Verdict

A focused, working choice for an AI generation placeholder or action card. It mounts without framework scaffolding and exposes the useful behavior as props, but teams should account for its perpetual animation, default click sound, and narrow skeleton-first purpose.

Use it if

  • You need a compact placeholder card with a clear generate or retry action.
  • Your interface already uses soft glass surfaces and animated loading cues.
  • You want configurable skeleton rows, action text, callback behavior, and optional sound in one component.

Skip it if

  • The card must display real content rather than a fixed skeleton-like state.
  • Your motion policy requires built-in reduced-motion handling.
  • Your content security policy forbids component-injected inline styles.
  • You do not want an animation dependency or browser audio behavior for a small action card.

Install

Installation record for ruixen-glass-ai-card
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, install Motion, copy the component into a client-capable module, and ensure the app permits its injected inline stylesheet. No provider is required. Disable the sound prop if browser audio 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 button pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.