defmodule PyrauiWeb.DocsLive.AvatarGroupDocs do use PyrauiWeb, :html def render(assigns) do ~H"""

Avatar Group

Avatar group component for displaying multiple users in a row with overlapping avatars. Supports online status indicators and overflow count.

Stacked Avatars


              <.avatar_group users={@users} max_visible={5} />
            

Different Sizes

Small

Medium

Large

Props

Prop Type Default Description
users list - List of user maps with :name, :avatar, :online
max_visible integer 5 Maximum number of avatars to show
size atom :md Avatar size (:sm, :md, :lg)
""" end end