Avatar Group @astryx-svelte/core v0.3.0 · AvatarGroup

Usage

AvatarGroup displays multiple avatars in an overlapping row with an optional overflow indicator. Uses a compositional API: pass Avatar children directly so each avatar can carry its own props (status dots, click handlers, etc.).
ts
import { AvatarGroup } from '@astryx-svelte/core';

Best practices

GuidancePractices
DoSet max to limit visible avatars when the list is long; 3-5 is typical.
DoUse AvatarGroupOverflow for custom overflow content like a popover trigger or "add member" button.
DoPass status dots, click handlers, or tooltips directly on each Avatar child.
DoMake avatars interactive with href or onClick to link to profiles. Interactive avatars share a single Tab stop; arrow keys move between them, and the group announces a keyboard hint to assistive tech.
Don'tDon't nest AvatarGroups; use a single group with all avatars.

Examples

Common configurations, variations, and states.
Avatar — Group
Overlap multiple avatars in a row to represent a group of people. Use for team lists, PR reviewers, or participant counts where you want to show faces without taking up much space.