Measured entry
tripled-native-hover-card-shadcnui
avatarminimal-flatmotion on file
An animated profile avatar that expands into an overlaid card with a name, handle, bio, and profile action. It ships as a client-side React registry component styled with Tailwind classes, and relies on Framer Motion plus local shadcn-style Avatar, Button, and class-merging utilities.



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 | 0 |
| Uncaught page errors | 0 |
| Horizontal overflow | clean at 375, 768, 1440 |
| Axe critical | 0 |
| Axe serious | 0 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 76.8 KB (142.3 KB build, 65.5 KB baseline) |
| Bare mode | FAIL |
| Provider required | NO |
| Demo used | written from the component source API |
What the harness recorded
BARE BUILD
✗ Build failed in 955ms error during build: [vite]: Rollup failed to resolve import "class-variance-authority" from "<sandbox>re-ae4697aa5c6e/src/components/ui/button.tsx".
Verdict
A polished fit for an existing shadcn-style app, with sensible keyboard and reduced-motion behavior. It does not mount bare and needs a shadcn-style setup. The hover-led trigger and sizable animation dependency make it a weaker default for touch-first or lean interfaces.
Use it if
- You need compact profile previews in a desktop-oriented people list or directory.
- Your app already has shadcn-style primitives, Tailwind theme tokens, and Framer Motion.
- You want keyboard focus, escape-to-close behavior, and reduced-motion handling built into the interaction.
Skip it if
- Your experience is touch-first, since the card is primarily opened by hover and has no explicit tap handler.
- You want a lightweight avatar without bringing in an animation runtime and supporting UI primitives.
- The expanded overlay must remain inside narrow containers or avoid covering nearby content.
- You need a semantic link or native button as the avatar trigger without adapting the component.
Install
| Declared dependencies | framer-motion, react, 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 Tailwind with the expected theme tokens, configure the local import alias, provide compatible Avatar and Button primitives plus the class-merging helper, and install React, Framer Motion, Radix UI, class-variance-authority, clsx, and tailwind-merge.
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/moumen-soliman/uitripledAlternatives
Other published entries for the avatar pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.
- hextaui-avatarminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 32.7KB
- Bare
- pass
- Prov
- NO
- neobrutalism-avatarbrutalism
- Renders
- YES
- A11y
- 0
- Gzip
- 32.7KB
- Bare
- pass
- Prov
- NO
- shadcn-avatarunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 33.0KB
- Bare
- pass
- Prov
- NO
- tripled-native-avatar-expand-shadcnuiminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 75.4KB
- Bare
- pass
- Prov
- NO
- tripled-native-avatar-with-name-shadcnuiminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 75.5KB
- Bare
- pass
- Prov
- NO
- magicui-avatar-circlesbento
- Renders
- YES
- A11y
- 0
- Gzip
- 26.0KB
- Bare
- fail
- Prov
- NO