Vibary.ai
← Vibe Coding

Avatar Stack Overflow

Participants slide into the overlapping stack and the overflow count takes over.

socialfriendlyminimalautomatic · finite · intermediate · ~2.6s
Variant

The animated component in this preview is rendered from the canonical file shown here. The surrounding demo shell only provides context and is not part of the copied code.

235 lines · react + motion only
import { useEffect, useState } from "react";
import { AnimatePresence, motion, useReducedMotion } from "motion/react";

/**
 * Vibary · Avatar Stack Overflow
 *
 * A stack has a capacity, and the interesting moment is the one where
 * it is reached: after that, arrivals stop being faces and become a

About this pattern

A stack has a capacity, and the interesting moment is the one where it is reached: after that, arrivals stop being faces and become a number. Each new participant slides in from the trailing edge while the stack shifts to make room, and once the stack is full the count picks up instead — swapping digits on a short vertical roll at a constant size, never scaling the chip. Discs are initials on a tinted circle, so the stack has no photo to wait for.

People joining a shared sessionAttendee list on an eventCollaborators on a documentGroup members in a header

Where it shows up

Screens we drew to show where this motion usually sits. Illustrations, not captures of any product.

Related patterns