Avatar
Avatar represents a person or team with a profile photo, initials, or a default icon. Use it in comment headers, contact lists, chat messages, user cards, and anywhere you need to identify someone visually.
| Parameter | Description |
|---|---|
| src | Avatar image URL. |
| name | Name used for the avatar fallback. |
| alt | Alternative text for the image. |
| shape | Avatar shape. Use rounded for organization images; circle and square follow the Astryx avatar shapes. |
| if | Conditional rendering expression. |
Usage
xml<Avatar src="$user.avatarUrl" name="$user.name" alt="$user.name" />