Groups

Groups

Overlapping stacks for who is in a project, ending in a count of the rest.

  • Spring catalogueEdited today
  • Coral sky reprintEdited yesterday
  • Gallery wall kitEdited on Monday
import { createAvatarGroup } from "@reuse-sh/avatars";

// Children with data-reuse-avatar are overlapped and cut.
// The last one carries a count badge for everyone not shown.
const group = createAvatarGroup(document.querySelector(".project-people"), {
  overlap: 10,
  clearance: 2,
});