Measured entry

ruixen-music-player-card

badgeunclassifiedmotion on file

A client-side React music player card with album art, native browser audio playback, seeking, track navigation, shuffle, repeat, and social action controls. It ships as a shadcn registry component styled with Tailwind theme tokens, using Lucide icons and a shared cn utility.

Specimen
Motion capture of the mounted demo, recorded by the harness. No audio track.
Harness screenshot of ruixen-music-player-card at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of ruixen-music-player-card at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of ruixen-music-player-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-music-player-card
BuildOK
MountOK
Console errors1
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious1
Axe moderate0
Axe minor0
Gzip marginal33.1 KB (98.6 KB build, 65.5 KB baseline)
Bare modeFAIL
Provider requiredNO
Demo usedwritten from the component source API

What the harness recorded

CONSOLE

Failed to load resource: the server responded with a status of 404 (Not Found)

BARE BUILD

✗ Build failed in 1m 32s
error during build:
[vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/cut/components/ruixen/music-player-card.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'

Verdict

A credible visual starter with working core playback and responsive mounting, but not a finished media experience. It needs a shadcn-style setup, accessibility fixes, application wiring for social actions, and a repeat-state correction before production use.

Use it if

  • You need a compact playlist player that accepts track metadata and audio URLs through props.
  • Your app already uses Tailwind theme tokens and a shadcn-style cn utility.
  • You are prepared to connect the save, share, rating, and comment actions to your own product logic.

Skip it if

  • You need an accessible player without remediation, since muted controls fail contrast checks and the seek control lacks keyboard semantics.
  • You expect every visible social control to work out of the box; several are decorative or have no handler.
  • You need hardened playback state, since repeat changes are not reflected by the active audio end handler until the track changes.
  • You cannot guarantee valid cover and audio URLs or handle remote media failures.

Install

Installation record for ruixen-music-player-card
Declared dependencieslucide-react, clsx, tailwind-merge
Missing on installnone
Bare installfails once the shadcn-style helpers are removed, so it needs that setup
Providerno provider required in the harness

In a non-shadcn project, add Tailwind CSS, Lucide React, clsx, and tailwind-merge; define the referenced card, border, foreground, background, and muted theme tokens; create the aliased shared cn helper or replace that import; and ensure the component runs on the client. Configure your image and media policy for the supplied remote sources.

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 badge pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.