Badge

Badge is a visual extension in the notification domain to direct the user to a new message.

1. Alike components

Badge are often confused with tags and alerts. The guidance below helps to clarify the difference.
BadgeTagAlert
When to use?To notify changes.To label multiple data entities into groups/sets.To communicate important contextual information.
Can it be used to navigate user?NoNavigate to see all the other data entities with same tag.Use link or button inside the component.
PlacementInline or on topInline or independentIndependent
Is the content a numeric value only?YesMaybeNo
Is it deletable?NoMaybeMaybe

2. How to pick a color

notificationurgent
When to use?Use as default for notification.Use when an action is needed immediately.
ImportanceNot urgentVery urgent
PersistanceCan be persistant.Have to go away after action.

3. How to place the badge

Do

Place on top right of a component when using type “on-top”.

Don't

Don’t place on top of a component when using type “beside”.

Do

Place on beside a component when using type “beside”.

Don't

Don’t place beside a component when using type “on-top”.