Measured entry
8bitcn-avatar
A pixel-framed avatar wrapper shipped as a shadcn registry component with a companion retro stylesheet. It builds on Radix Avatar and class-variance-authority, uses Tailwind utility and theme classes, expects the shadcn cn helper, and imports a Google-hosted retro font.



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 | 30.5 KB (95.9 KB build, 65.4 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 44.10s error during build: [vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/cut/components/ui/8bit/avatar.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'
Verdict
A focused choice for retro interfaces, with working mount behavior and clean accessibility checks in the prepared harness. It needs a shadcn-style setup: the bare project cannot resolve its cn utility import, and its styling assumes Tailwind theme classes.
Use it if
- You want image and fallback avatar primitives with an overt pixel-art frame.
- Your app already uses shadcn conventions, Tailwind theme tokens, and path aliases.
- You need default, retro, and pixel variants that can accept custom classes.
Skip it if
- You need a neutral avatar that fits outside a retro or game-inspired interface.
- Your project cannot load fonts from Google or requires all visual assets to be self-hosted.
- You want a standalone package without shadcn aliases, utilities, or Tailwind theme classes.
- You need built-in status badges, avatar groups, editing, or upload behavior.
Install
| Declared dependencies | none declared |
|---|---|
| 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 Radix Avatar and class-variance-authority, provide a cn class-merging helper, configure the at-sign source alias, and supply Tailwind utilities plus the expected foreground, ring, and muted theme classes. Copy the retro stylesheet and decide whether to keep or self-host its font import.
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/TheOrcDev/8bitcn-uiAlternatives
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