Components
AvatarGroup
A row of overlapping avatars, each opening a card with the person's name and role on hover.
Usage
MeAvatarGroup is the one way the system shows people as avatars. Give it the people and each avatar opens the same card on hover: the avatar again at a readable size, the name, and the role under it. A bare avatar says two initials; this card says who the person is and what they are to the thing being read.
A person with a picture sets src; initials stays as the fallback text.
Where it is used
The document chassis draws a document's participants with it, at the right edge of the workflow strip in the Forehead drawer. See DocumentView.
API
Props
| Prop | Default | Type |
|---|---|---|
people | AvatarPerson[] { initials, name, role?, src? }. | |
max | 4 | number Avatars shown before the rest collapse into a +N avatar. |
size | 'sm' | AvatarProps['size'] Forwarded to the group. |