Measured entry
tripled-native-avatar-with-name-shadcnui
avatarminimal-flatmotion on file
A client-side React avatar that reveals a name label with directional spring motion on hover or descendant focus. It ships as a shadcn registry component and uses Framer Motion, the local shadcn Avatar primitive, a class-merging helper, Tailwind utilities, and theme color tokens.



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 | 75.5 KB (141.0 KB build, 65.5 KB baseline) |
| Bare mode | OK |
| Provider required | NO |
| Demo used | written from the component source API |
Verdict
A solid decorative identity treatment for a shadcn interface that already carries Framer Motion. Build and mounting were clean, but the motion dependency is substantial for a small avatar, and the hover label should not be the only place a user name is exposed.
Use it if
- You need compact people or member lists where a name can appear as a visual enhancement beside an avatar.
- Your interface already uses shadcn avatar primitives and Framer Motion.
- You want fallback initials, selectable avatar sizes, and control over which side displays the label.
Skip it if
- The revealed name must be reliably triggered from the keyboard, since the wrapper is not independently focusable.
- The name is essential information rather than an optional visual hint, because the animated label is hidden from assistive technology.
- You want a lightweight static avatar and do not otherwise ship Framer Motion.
- You need the avatar itself to act as a profile link, menu trigger, or other interactive control without extending the component.
Install
| Declared dependencies | framer-motion, react, radix-ui, clsx, tailwind-merge |
|---|---|
| Missing on install | none |
| Bare install | builds and mounts without the shadcn-style helpers |
| Provider | no provider required in the harness |
In a non-shadcn project, add React, Framer Motion, the Radix avatar primitives, Tailwind, and the clsx plus tailwind-merge class helper. Recreate the local Avatar wrappers and cn utility, then define the referenced background, popover, foreground, border, and muted theme tokens.
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
- magicui-avatar-circlesbento
- Renders
- YES
- A11y
- 0
- Gzip
- 26.0KB
- Bare
- fail
- Prov
- NO
- 8bitcn-avatarskeuomorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 30.5KB
- Bare
- fail
- Prov
- NO