AvatarGroup
Show a compact stack of avatars with an overflow count.
Use AvatarGroup to show a small set of people in a bounded space. It truncates the visible stack at max; keep the full membership available elsewhere when users need it.
Basic usage#
Playground#
SCJD+2
Props
Slots
Anatomy#
Usage#
Grouping avatars#
AvatarGroup renders no root for an empty items array. Avatar items retain input order in the DOM. max is a number: omit it to show every avatar, set it to 0 to show only +N, or use a positive number to show its floored count. The overflow count follows the visible items.
Attributes#
Attributes
data-statusSlot: avatar-group-item, avatar-image, avatar-fallbackDescription: Stores async loading, loaded, or error status.Props#
Props for the AvatarGroup component. Renders a <div> element by default.
Prop