0
Components
API reference

Avatar

Circular user image with solid tonal fallback, four sizes, and an overlapping group that fans out on hover.

Installation

Usage

Examples

Fallback

Small

Large

Extra Large

Group

API Reference

Avatar

Wraps Base UI Avatar.Root.

PropTypeDefaultDescription
size"sm" | "default" | "lg" | "xl""default"Avatar diameter and fallback font size
classNamestring-Additional CSS classes

AvatarImage

Wraps Base UI Avatar.Image. Renders the image and hides automatically while loading or on error.

PropTypeDefaultDescription
srcstring-Image source URL
altstring-Accessible alternative text
onLoadingStatusChange(status: ImageLoadingStatus) => void-Callback fired when loading state changes

AvatarFallback

Wraps Base UI Avatar.Fallback. Displayed when the image has not loaded or failed to load.

PropTypeDefaultDescription
delaynumber-Delay in milliseconds before showing the fallback
classNamestring-Additional CSS classes

AvatarGroup

Overlaps multiple Avatar elements with a cutout ring and fans them out smoothly on hover.

PropTypeDefaultDescription
size"sm" | "default" | "lg" | "xl""default"Uniform size, overlap, ring width, and hover spread
classNamestring-Additional CSS classes

© taut ui — built with Base UI and Tailwind CSS v4.