Avatar component which renders a participant's image or their initials.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
iconPack |
IconPack |
❌ | defaultIconPack |
Icon pack |
participant |
Peer | WaitlistedParticipant | { name: string; picture: string } |
✅ | - | Participant object |
size |
Size |
✅ | - | Size |
t |
RtkI18n |
❌ | useLanguage() |
Language |
variant |
AvatarVariant |
✅ | - | Avatar type |
<!-- component.html -->
<rtk-avatar></rtk-avatar><!-- component.html -->
<rtk-avatar
participant="example"
size="md"
variant="circular">
</rtk-avatar>