Back to components

Avatar

An avatar component for displaying user images with fallback support.

Examples

Basic Usage

Sizes

Props

PropTypeDefaultDescription
srcstring-Image source URL
altstring-Alt text for the image
size"xs" | "sm" | "md" | "lg" | "xl""md"Size of the avatar
fallbackstring-Fallback initials when image fails
status"online" | "offline" | "away" | "busy"-Status indicator