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.

ParameterDescription
srcAvatar image URL.
nameName used for the avatar fallback.
altAlternative text for the image.
shapeAvatar shape. Use rounded for organization images; circle and square follow the Astryx avatar shapes.
ifConditional rendering expression.

Usage

xml
<Avatar src="$user.avatarUrl" name="$user.name" alt="$user.name" />