Measured entry

8bitcn-avatar

avatarskeuomorphism

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.

Specimen
Harness screenshot of 8bitcn-avatar at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of 8bitcn-avatar at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of 8bitcn-avatar 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 8bitcn-avatar
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal30.5 KB (95.9 KB build, 65.4 KB baseline)
Bare modeFAIL
Provider requiredNO
Demo usedwritten 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

Installation record for 8bitcn-avatar
Declared dependenciesnone declared
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 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.

License
MIT
Record published
2026-08-14

Alternatives

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.