Avatar stack. The room, condensed.
For team rosters, recent viewers, collaborators-on-this-doc — the face pile that says some number of people are here without listing them. Overlap, spread, overflow counter, status dot, and a staggered entrance for first paint.
Sizes
Token-driven — set --as-size or use the modifier classes.
sm
md
lg
Hover to spread
On parent hover, each item slides apart and the stack breathes.
Hover anywhere on the stack. Hover an individual avatar for the name tooltip.
Status dot
Tiny bottom-end dot per item — online, away, busy.
Three states: green (online), yellow (away), magenta (busy). Default = offline.
Staggered entrance
Each face fades and lifts in with a 90ms cascade. Replay to see again.
In context · "viewing now"
Stack inline with body copy. The face pile is a sentence ending.
Editing this document right now
Usage
- Wrap items in
.as. Each face is.as__item; overflow counter is.as__more. - Size modifiers:
.as--sm,.as--md,.as--lg— or override--as-sizedirectly. - Add
.as--spreadfor hover-spread,.as--enterfor staggered entrance. - Per-item:
data-tone="1..6"for gradient,data-statusfor the dot,data-namefor the tooltip.