Back to library

Avatar group

Show collaborators together using profile photos or initials.

ALJOMK+4

Recommended API

Property or elementTypeExample initial valueDescription
MembersInitials and countAL, JO, MK, +4Show visible members and summarize the others.
aria-labelTextTeam descriptionName the people in the group for assistive technologies.

States

StateTriggerResult
overflowMore members exist than visible slots.The final avatar summarizes additional members.

CSS variables

VariableTypeDefaultDescription
--q-textcolor #28302aMain text and foreground color.
--q-mutedcolor #70776fColor for secondary text.
--q-font-sizelength 13pxBase size for the component text.
--q-accentcolor #344e41Accent for active controls, indicators and focus.
--q-on-accentcolor #ffffffForeground on the accent background.
--q-surfacecolor #ffffffSurface for controls and cards.
--q-radiuslength 10pxBase corner radius.
--q-gaplength calc(var(--q-space) * 2)Space between items, based on the spacing unit.
--q-shadowshadow 0 4px 16px rgb(0 0 0 / 8%)Shadow behind raised elements.
--q-spacelength 4pxBase unit for gaps and padding.