A raised avatar with a photo or colourful initials, in four sizes and two shapes, with an optional presence dot that screen readers also hear.
Install it the shadcn way: copy the source file into your project. It uses CSS 3D, Tailwind CSS v4 and Framer Motion, no WebGL.
| Prop | Type | Default | Description |
|---|---|---|---|
| src | string | Image address. If it is missing or fails, initials are shown. | |
| name | string | Full name. Used for the initials, the colour and the accessible name. | |
| size | "sm" | "md" | "lg" | "xl" | "md" | Size of the avatar. |
| shape | "circle" | "square" | "circle" | Circle or rounded square. |
| status | "online" | "away" | "busy" | "offline" | Presence dot shown at the bottom right. | |
| className | string | Extra classes added to the outer element. |