Measured entry

hextaui-avatar

avatarminimal-flat

A compact React avatar primitive for profile images and text fallbacks. It ships as a shadcn registry source file rather than a packaged visual system, wraps Radix Avatar, and uses Tailwind utility classes plus a local cn helper backed by clsx and tailwind-merge.

Specimen
Harness screenshot of hextaui-avatar at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of hextaui-avatar at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of hextaui-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 hextaui-avatar
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal32.7 KB (98.2 KB build, 65.5 KB baseline)
Bare modeOK
Provider requiredNO
Demo usedwritten from the component source API

Verdict

A sensible low-level avatar for React teams already comfortable owning registry code. It covers image and fallback states cleanly, but advanced identity UI such as groups, status indicators, and editing remains application work.

Use it if

  • You need a circular profile image with an initials fallback when loading fails.
  • Your React interface already uses Tailwind utilities and a shared cn helper.
  • You want Radix behavior while retaining direct control of the component source.

Skip it if

  • You need a full avatar group, presence badge, upload flow, or profile menu out of the box.
  • Your project avoids Tailwind utility classes or source-copied registry components.
  • You cannot add Radix Avatar and the class-merging utilities to your dependency set.

Install

Installation record for hextaui-avatar
Declared dependencies@radix-ui/react-avatar, clsx, tailwind-merge
Missing on installnone
Bare installbuilds and mounts without the shadcn-style helpers
Providerno provider required in the harness

Install Radix Avatar, clsx, and tailwind-merge. Add a cn class-merging helper, configure the at-sign source alias used by the import, and ensure Tailwind processes the copied component file.

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-16

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.