Components
BaseAvatarGroup
Overlapping avatars with a “+N” counter, optionally selectable as a filter.
components/ui/BaseAvatarGroup.vue
View in the demo
Example
AJ
DL
+3
AJ
+4
Dax Lennox
API
Props
Name | Type | Default | Description |
|---|---|---|---|
usersrequired | BaseAvatarGroupUser[] | — | The people, each { name, color?, imageUrl? }. |
max | number | 3 | How many avatars show before “+N”. |
size | string | number | 28 | The avatar size. |
label | string | — | The accessible name of the group. |
selectable | boolean | false | Turns each avatar into a toggle, as the kanban people filter does. |
selected | string[] | [] | The selected names. Use v-model:selected. |
Events
Name | Payload | Description |
|---|---|---|
@update:selected | [value: string[]] | The selection changed. |