BeginAvatarGroup#
func BeginAvatarGroup(canvas *ui.Canvas, theme ui.Theme, bounds ui.Rect, size AvatarSize) AvatarGroupBeginAvatarGroup starts an overlapping avatar row at bounds.X/Y.
type AvatarGroup struct {
// contains filtered or unexported fields
}AvatarGroup incrementally paints overlapping avatars with deterministic spacing. The group count is caller-provided rather than inferred or stored.
BeginAvatarGroup#func BeginAvatarGroup(canvas *ui.Canvas, theme ui.Theme, bounds ui.Rect, size AvatarSize) AvatarGroupBeginAvatarGroup starts an overlapping avatar row at bounds.X/Y.
Add#func (group *AvatarGroup) Add(data AvatarData)Add paints one avatar inside its 2px background ring (ring-2 ring-background) and advances by size minus the official 8px overlap.
AddCount#func (group *AvatarGroup) AddCount(label string)AddCount paints the official muted group-count fallback.