An image element with a fallback placeholder that represents a user or entity.
Loading component...
Run the following command to add this component to your project:
Import the component directly from the package:
import { Avatar } from "@static-ui/ui"Common props available for this component:
| Prop | Type | Description |
|---|---|---|
| className | string | Additional CSS classes to apply. |
Requires `alt` text on `AvatarImage` for screen reader users. The `AvatarFallback` provides accessible text when the image fails to load.