Display
AvatarGroup <pm-avatar-group>
Overlapping avatars with an overflow count.
Sizes
Set with the size attribute; controls keep touch-sized targets on phones.
size="xs"size="sm"size="md"size="lg"size="xl"Attributes
| Attribute | Type | Default | Description |
|---|---|---|---|
max | number | — | Show at most this many avatars, then "+N". |
size | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | — | Size: xs, sm, md, lg or xl (md when not set). |
label | string | — | Accessible group name, e.g. "Project members". |
Also accepts the contextual attributes tone, surface, radius, density, motion, elevation. They are inherited from ancestors' data-* attributes.
Slots
| Slot | Description |
|---|---|
(default) | pm-avatar elements. |