Badge

Android · iOS · Web
Badges are used to highlight and categorise content or signify status.

Overview

Badges are versatile components used to highlight and categorise important content within user interfaces. They serve to convey various types of information, including status, labels, or tags. They're commonly found within cards to indicate status.

Live demo

Example
Content
Examples
Modifiers

Usage

Do

  • To avoid noisy interfaces, use one badge only per screen

  • Keep Badge text short and to the point.

  • Use Badges to indicate status.

  • Ensure text and icons have enough contrast, especially in different variants and on various backgrounds.

Don't

  • Avoid using Badges for critical information; reserve them for secondary or non-essential content.

  • Avoid overcrowding with unnecessary information.

  • Aside from the Icon which can initiate a Toggle-tip, don’t use Badges for interactive content.

Placement

Place the Badge component in proximity to the relevant content, such as beside a title, image, or user profile.

Stock badge
Hub alt text
2024 Label header
$109,890Drive away


Content

  • Use caps for single words and sentence case for multiple words.

  • Only use a few words or a short phrase to prevent visual overwhelm.

  • Avoid unnecessary use of capitals. Using all caps can reduce the readability of your text and impact the products tone of voice as it can feel like you’re shouting at the user.

  • Choose words that convey the intended message for quick user understanding.

  • Ensure content aligns with the Badge's context, adding value and clarity.

  • Maintain terminology consistently across the product for Badges used in categorisation.

Styles

The Badge component has optional variants to suit different scenarios.

ExampleStateWhen to use
Badge
LightSuitable for light backgrounds
Badge
SponsoredSpecial variant for sponsored or promoted content
Badge
StrongEnhanced contrast for stronger visibility against the background
Badge
OnImageAdapted for use on images

Accessibility

To ensure that the Badge component is accessible to all users, follow these best practices:

  • The text inside the Badge should have sufficient contrast with the background colour to be legible.

  • The Badge should have a text alternative for screen readers to ensure that all users can understand its purpose and meaning.

  • Ensure keyboard users can navigate and interact with Badges easily.

iOS guidance

Along with the guidance above, there is some iOS specific guidance for this component.

  • Leverage the system's SF Symbols for iOS badges to maintain a cohesive design language.

  • Ensure Dynamic Type support for badge text.