Measured entry
neobrutalism-avatar
A compact React avatar primitive shipped as a TypeScript client component through a shadcn registry. It wraps Radix Avatar root, image, and fallback parts, uses a local cn helper backed by clsx and tailwind-merge, and expects Tailwind plus the theme tokens that supply its outlined neobrutalist treatment.



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 | 32.7 KB (98.2 KB build, 65.5 KB baseline) |
| Bare mode | OK |
| Provider required | NO |
| Demo used | written from the component source API |
Verdict
A sound, narrowly scoped wrapper for teams already using Radix and Tailwind. It builds and mounts cleanly without a provider, and its fallback behavior is useful, but the component is intentionally basic and much of its identity comes from project theme tokens.
Use it if
- You want image loading and an initials fallback handled by Radix Avatar.
- Your interface already uses Tailwind theme tokens and a shared cn utility.
- You need an avatar that can be resized or restyled through className.
Skip it if
- Your project does not use React or Tailwind.
- You need status badges, grouped avatars, upload controls, or profile menus included.
- Your design system avoids circular portraits and heavy outlined styling.
Install
| Declared dependencies | @radix-ui/react-avatar, 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 Radix Avatar, clsx, and tailwind-merge; create the cn helper; configure Tailwind; replace the path alias if needed; and define or swap the border, background, foreground, and font theme classes used by the component.
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/ekmas/neobrutalism-componentsAlternatives
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
- 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
- 8bitcn-avatarskeuomorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 30.5KB
- Bare
- fail
- Prov
- NO