# Avatar
> A round image with initials, or a user icon, as the fallback.
Source: https://native.shellui.dev/docs/components/data-display/avatar
## Installation
```bash
shellui-native add avatar
```
**Platforms:** MAUI · Avalonia. Also installs `icon`.
## Usage
### Basic
**MAUI**
```xml
```
**Avalonia**
```xml
```
[Live preview](https://native.shellui.dev/preview/index.html?c=avatar-basic)
## MAUI and Avalonia
`Source` is an `ImageSource` on MAUI (an image in `Resources/Images`) and an `IImage` on Avalonia (a resource path such as `/Assets/profile.png`).
## API
| Property | Type | Default | Description |
|---|---|---|---|
| `Source` | `ImageSource` (MAUI) · `IImage?` (Avalonia) | `null` | Image to show. |
| `Fallback` | `string` | — | Initials shown when there's no image; empty shows a user icon. |
| `Size` | `AvatarSize` | `Default` | Size preset. One of `Sm`, `Default`, `Lg`, `Xl`. |