Measured entry

ruixen-avatar-quick-actions

badgespatialmotion on file

A client-side React avatar that reveals icon actions in an animated radial orbit on pointer hover. It ships as a shadcn registry component and relies on Motion, the shadcn Avatar primitive, a cn utility, Tailwind classes, and theme color tokens.

Specimen
Motion capture of the mounted demo, recorded by the harness. No audio track.
Harness screenshot of ruixen-avatar-quick-actions at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of ruixen-avatar-quick-actions at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of ruixen-avatar-quick-actions 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-avatar-quick-actions
BuildOK
MountOK
Console errors2
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical1
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal76.2 KB (141.7 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)

CONSOLE

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

BARE BUILD

✗ Build failed in 100ms
error during build:
[vite]: Rollup failed to resolve import "lucide-react" from "<sandbox>re-8539953680ca/src/cut/demo.jsx".

Verdict

A clever profile-action treatment, but not production-ready as supplied. The hover-only trigger and unnamed buttons need fixes, and the demo evidence is blank. It also needs a shadcn-style setup before it will build or mount in a bare React project.

Use it if

  • You need compact, secondary actions around a profile avatar in a pointer-first interface.
  • Your app already uses shadcn conventions, Tailwind theme tokens, and Motion.
  • You can add accessible names and provide another way to expose the actions for keyboard and touch users.

Skip it if

  • The actions must work without hover, such as on touch screens or in keyboard-only navigation.
  • You need accessible output without modifying the source, because the icon buttons have no discernible names.
  • You want a dependency-light badge or avatar, since the animation stack adds substantial bundle weight.
  • You need a trustworthy copy-paste demo, because the captured demo rendered blank and its avatar assets failed to load.

Install

Installation record for ruixen-avatar-quick-actions
Declared dependenciesmotion, radix-ui, 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 Motion and Radix Avatar support, provide compatible Avatar components, create the cn helper with clsx and tailwind-merge, configure Tailwind, and define the referenced theme tokens. Also add accessible button labels, keyboard and focus behavior, a touch trigger, and real avatar assets.

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.