AvatarGroup
The Avatar component can be used as a visual representation of multiple users.
Import
import { AvatarGroup } from '@dynatrace/strato-components/content';
Demo
The AvatarGroup is a wrapper that stacks multiple
Avatar elements together. The focus can be moved with the
arrow-left and arrow-right keys, as well as the tab key.
Add multiple items
The AvatarGroup can display a maximum of five AvatarItem elements. If it
contains more than five, the remaining items are collapsed into a menu. The
trigger icon shows the number of menu items.
Polymorph items into links
The AvatarGroup.Item is polymorphic, so you can, for example, polymorph it to
an anchor.