Skip to content

Avatar Group

Free

Shows a few people as overlapping avatars with a count of the others. Every avatar gets the same size and corner, and the count can open the full list.

  • React 19
  • Tailwind CSS 4

Added Nov 12, 2026 · MIT + Commons Clause

Playground

Loading the preview

Props

Put avatars in the group and end with a count.

project-people.tsx

AvatarGroup

<div>
PropTypeDefaultDescription
size"default""lg""sm""xl""xs""default"
rounded"default""full""full"
From Base UIUseRenderBase UI docs
render—Allows you to replace the component's HTML element with a different tag, or compose it with another component. Accepts a ReactElement or a function that returns the element to render.
...props<div> attributes—Every other attribute goes to the <div>, with a ref.

AvatarGroupCount

<span>
PropTypeDefaultDescription
rounded"default""full"—
size"default""lg""sm""xl""xs"—
From Base UIUseRenderBase UI docs
render—Allows you to replace the component's HTML element with a different tag, or compose it with another component. Accepts a ReactElement or a function that returns the element to render.
...props<span> attributes—Every other attribute goes to the <span>, with a ref.
  • Set size and rounded on the group: every avatar and the count inside take them.
  • End with an AvatarGroupCount for the people that do not show.
  • Render the count as a button that opens the full list when people need the names.
  • For one person, use an Avatar.
  • For a list of people with names, use an Item.

The group has no name of its own: the names are in the alt of each image, or in a visible label next to the group.

A group of decoration takes aria-hidden.

Built with

Installs with Avatar Group

Components
Avatar
  1. AddedAvatar Group, with Avatar.
Open the release