Measured entry
ruixen-avatar-spring-stack
statsunclassifiedmotion on file
A client-side React avatar group that overlaps profile images, pushes neighboring items apart with Motion springs on hover, reveals a label, and ends with an overflow count. It ships as a shadcn registry component and depends on Motion, the shadcn Avatar primitive, Tailwind theme classes, and the local cn utility.



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 | 5 |
| Uncaught page errors | 0 |
| Horizontal overflow | clean at 375, 768, 1440 |
| Axe critical | 0 |
| Axe serious | 1 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 75.1 KB (140.6 KB build, 65.5 KB baseline) |
| Bare mode | FAIL |
| Provider required | NO |
| Demo used | written from the component source API |
What the harness recorded
CONSOLE
Failed to load resource: the server responded with a status of 404 (Not Found)
CONSOLE
Failed to load resource: the server responded with a status of 404 (Not Found)
CONSOLE
Failed to load resource: the server responded with a status of 404 (Not Found)
Verdict
A polished fit for an existing shadcn app, but not ready as an accessible identity control: labels rely on hover and the muted text needs contrast work. It needs a shadcn-style setup to build and mount, so plain React teams should budget for adaptation.
Use it if
- You need a compact face pile for collaborators, attendees, reviewers, or team members.
- Your product already uses shadcn conventions and Motion, so the registry imports fit the codebase.
- Labels are supplementary and the animated hover treatment is appropriate for pointer users.
Skip it if
- Names or controls must be discoverable by keyboard and touch users, since the label is driven only by mouse hover.
- You need a lightweight static avatar group and do not otherwise use Motion.
- Your theme cannot be adjusted to fix the muted label and overflow text contrast.
- You need a drop-in component for a plain React project without shadcn aliases, utilities, and theme tokens.
Install
| Declared dependencies | motion, radix-ui, clsx, tailwind-merge |
|---|---|
| Missing on install | none |
| Bare install | fails once the shadcn-style helpers are removed, so it needs that setup |
| Provider | no provider required in the harness |
In a non-shadcn project, add Motion and an Avatar implementation backed by Radix, provide the cn helper with clsx and tailwind-merge, configure the import aliases, and supply Tailwind classes plus the background, muted, and muted-foreground theme tokens. Replace mouse-only label behavior with focus and touch support if names matter.
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 stats pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.
- hyperui-stats-1unclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 3.4KB
- Bare
- pass
- Prov
- NO
- hyperui-app-stats-4editorial
- Renders
- YES
- A11y
- 0
- Gzip
- 17.5KB
- Bare
- pass
- Prov
- NO
- tailark-mist-stats-2minimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 17.6KB
- Bare
- pass
- Prov
- NO
- tailark-mist-stats-4minimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 17.6KB
- Bare
- pass
- Prov
- NO
- tailark-veil-stats-1minimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 17.6KB
- Bare
- pass
- Prov
- NO
- hyperui-stats-2editorial
- Renders
- YES
- A11y
- 0
- Gzip
- 17.8KB
- Bare
- pass
- Prov
- NO