AA
JD
AA
AH
JDInstallation
Load the script once in your layout:
Load the script once in your layout:
Examples
Basic
AABadge
AA Badge with Icon
AA Avatar Group
AA
AH
JDAvatar Group Count
AA
AH
JDAvatar Group with Icon
AA
AH
JDSizes
AA
AA
AADropdown
API Reference
Avatar
Root container. Compose with Image, Fallback and Badge; stack avatars in a Group.
| Name | Type | Default |
|---|---|---|
Avatar size. Options: 'default' (size-8), 'sm' (size-6), 'lg' (size-10). | | |
Optional HTML id for the element. | | - |
Additional CSS classes. Override the size with size-* if needed. | | - |
Additional HTML attributes to apply. | | - |
Image
The user's photo.
| Name | Type | Default |
|---|---|---|
Image source URL. | | - |
Alternative text for the image. | | - |
Optional HTML id for the element. | | - |
Additional CSS classes to apply. | | - |
Additional HTML attributes to apply. | | - |
Fallback
Shown when the image fails to load — typically initials.
| Name | Type | Default |
|---|---|---|
Optional HTML id for the element. | | - |
Additional CSS classes to apply. | | - |
Additional HTML attributes to apply. | | - |
Badge
A small status dot or icon on the avatar. Stack avatars with Group and GroupCount.
| Name | Type | Default |
|---|---|---|
Optional HTML id for the element. | | - |
Additional CSS classes (e.g. a status color). | | - |
Additional HTML attributes to apply. | | - |