shibro
Show the version of “Count badges hide at zero, and avatar stacks say how many more”

Display and media · SU-312

Count badges hide at zero, and avatar stacks say how many more

Flip between the version shibroUI flags and the one it ships. The marks and callouts show what changes.

  • Avatars shown 8 · 50% overlap, no ring
  • Badge at zero shows “0”
  • Avatars shown 5 + “+3” · 2px ring
  • Large counts capped at 99+

What changes

Bad
Eight faces crushed together at 50% overlap with no ring, a 0 badge on the bell, and 142 stretching the cart badge.
Good
Five 36px faces at about 18% overlap with a 2px ring, initials fully visible, and a +3 button; the bell shows no badge at 0 and the cart caps at 99+.

The rules

  • SU-312

    Count badges hide at zero and avatar stacks end in a +N button. Count badges are at least 16px tall, use tabular figures, cap at "99+", disappear at zero, and put the count in the control's name ("Cart, 99+ items"). Avatar stacks (SU-245) overlap 25-30% with a 2px ring in the surface color, show at most 5 of one size (24, 32 or 40px), then a "+N" button that opens the full list. Names appear in tooltips and accessible names.