9.2k

Avatar

An image element with a fallback for representing the user.

API Reference

Installation

Usage

API Reference

Avatar

Root component. Styled wrapper for Avatar.Root from Base UI with default size of 32px (8 units) and rounded-full styling.

AvatarImage

Image element for the avatar. Styled wrapper for Avatar.Image from Base UI.

AvatarFallback

Fallback content displayed when the image fails to load. Styled wrapper for Avatar.Fallback from Base UI with muted background.

Examples

Fallback Only

Different Sizes

Different Radius

Group Avatars

coss.com ui

Built by and for the team of Cal.com, Inc. — the leading commercial open source company (“coss”).