A number badge is a round badge with a number or a check mark.
Every example on this page is the real component. Figma: Number.
Choose breakpoint, size and content: a number or a check mark. Mobile and Desktop force the breakpoint values whatever the window width; Window follows the window.
A number badge is a round badge with a number or a check mark. Although all badges with text can work as a counter, use Number for most cases.
A short summary lives here; the three pages are: Examples & Guidelines (this page), Specifications and Code.
.badge.| The element… | Use |
|---|---|
| counts something or numbers a step | Number |
| shows a status in words | Basic |
| marks a change without text | Dot |
| counts on the header cart icon | The counter .badge |
surface-100), round for one digit, wider for more. Large 24px, Medium 20px, Small 16px on desktop; 20, 18 and 14px on mobile.Every size has a number or a check mark.
Three sizes. Mobile and desktop have different diameters; the values are on the Specifications page.
| Size | Desktop | Mobile | Check mark |
|---|---|---|---|
| Large | 24px | 20px | 20px |
| Medium | 20px | 18px | 14px |
| Small | 16px | 14px | 11px desktop · 10px mobile |
The badge is round for one digit and grows with the number. It never shrinks below its diameter.
A number badge is text. All requirements are listed under Accessibility Requirements in Specifications.
The number is read as it is. Give it context: put the count in the label of the item it belongs to (“Messages, 3 new”) or in visually hidden text.
A number badge is never a link or a button.