A) Container B) Label
Badges placed next to each other in a sequence should be spaced 8px apart.
Badges are should be placed close to the object they're quantifying, for instance, the number of objects in a folder or the summary of each data point in a chart.
Notification badges alert users to cumulative related actionable items, such as unread messages. When the user performs an action related to the badge, the count should reduce accordingly.
Badges show counts using numerical figures only, with the exception of mathmatical symbols such as “+” , ”-“ and ”%” and number abbreviations such as “k” and “m”. For more guidance see \[number formats] \[Lozenges] highlight an item's attributes or status and can use alphanumeric characters.
For large numbers, consider setting a maximum value and maximum number of displayed digits. For more guidance see \[number formats]