What it's calledCount badgenotification badgeGlossary
What goes wrong
A fixed little circle crams "128" into tiny digits that spill over its edge, and a badge reading "0" still calls for attention when there is nothing to see.
The fix
Let the badge grow into a pill with the digits, cap it at 99+, and remove it at zero.
Tell your AI
Draw count badges as pills of min-width 20px and height 20px with 0 var(--ds-space-6) (6px) padding, var(--ds-radius-full) (999px) corners, a var(--ds-danger) fill, var(--ds-on-accent) text at var(--ds-font-size-xs) (12px) with tabular-nums and a 2px ring of var(--ds-surface); show "99+" above 99, hide the badge at 0, and pop it with var(--ds-ease-spring) when the number changes.