Stop Rebuilding UI

Shadcn.io is not affiliated with official shadcn/ui

Avatar

A circular user avatar with image loading and automatic fallback to initials for profile displays

Every modern app needs user avatars—those little circular photos that humanize interfaces. This React avatar component uses shadcn/ui and Radix UI to handle image loading gracefully with AvatarImage for the photo and AvatarFallback for initials when images fail or are loading. The circular shape is instantly recognizable, fallbacks happen automatically, and accessibility is built-in with proper alt text. Perfect for user profiles, comment sections, team member lists, or anywhere you need to represent people visually.

Avatar preview

Scroll to load preview

Installation

FAQ

Was this page helpful?

Sign in to leave feedback.