Avatar
The Avatar component displays user profile images, initials, or icons. Supports different sizes, colors, and can be grouped together in an AvatarGroup. Each text slot — initials, label, description — accepts the full Text-prop API via
fallbackProps / labelProps / descriptionProps.Examples
(7)Properties
(16)Playground
Basics
Illustrates loading an avatar image with a reliable initials fallback for offline scenarios.
Sizes
Display every avatar size token with guidance on when to use each scale.
Icon
Render any
<Icon> inside an avatar by passing it to the fallback prop. The icon scales with the avatar size and works alongside labels, descriptions, and status indicators.Colors
Preview semantic color tokens and custom hex backgrounds applied to avatar fallbacks.
Groups
Showcases how
AvatarGroup overlaps avatars by default to conserve space.Overflow
Set
limit to cap visible avatars and show the remaining count. Pass surplusTooltip to reveal who's hidden on hover.Status indicator
Demonstrates the
online presence indicator, including custom indicatorColor overrides for alternate states.Scan to open this page on your phonereact-ui-library.com/components/Avatar
</>
react-ui-library
100+ accessible, themeable components that work seamlessly across iOS, Android, and Web.
A Platform Blocks product.
Quick Links
Resources