Skip to content

Avatar

Initials in mono inside a bordered square.

pulls in@base-ui/react@afterglow/theme
DSN4OP

Installation

npx shadcn@latest add @afterglow/avatar

Composition

Component structure.

Avatar
  • AvatarImage
  • AvatarFallback

API Reference

AvatarFallback

Shown until the image loads, and instead of it if the image fails.

Everything else is Base UI avatar's API, documented there.