Badge

Badges highlight the status of a corresponding object

Stable
Show details
Stable
Published: November 25, 2024
Updated: January 15, 2026

Badges are available in bold or subtle variants.

They are commonly used to accompany headings or within tables to communicate status.


Anatomy

Anatomy summary lists and describes all the elements that exist within a component (including other components nested within).

badge-anatomy

Element

Description

Optional?

1. Icon

System Icon used to visually reinforce the information communicated by the label.

Yes

2. Numeric count

Numeric count of associated objects.

Yes

3. Label

Textual label providing the status or metadata about an object.

Yes


Variants

Variants contain different versions of the component depending on specific properties, such as state, size, colour, optional iconography, etc.

Badge
Property Values Default
size Variant xSmall | small | medium medium
type Variant bold | subtle bold
state Variant neutral | inverseNeutral | info | success | warning | danger | feature | upsell neutral
hasIcon Boolean true | false true
hasLabel Boolean true | false true
hasCount Boolean true | false true
↳ ✏️ label Text string label
↳ ✏️ count Text string #
icon InstanceSwap icon exclamation-triangle
Badge
Badge
size small type subtle state success
Badge
Badge
size small type bold state feature
Badge
Badge
size xSmall type bold state feature
Badge
Badge
size medium type bold state danger
Badge
Badge
size xSmall type bold state danger
Badge
Badge
size small type bold state inverseNeutral
Badge
Badge
size xSmall type subtle state upsell
Badge
Badge
size small type bold state danger
Badge
Badge
size xSmall type bold state success
Badge
Badge
size medium type bold state warning
Badge
Badge
size medium type subtle state danger
Badge
Badge
size small type subtle state danger
Badge
Badge
size xSmall type subtle state danger
Badge
Badge
size medium type subtle state info
Badge
Badge
size small type subtle state info
Badge
Badge
size medium type subtle state upsell
Badge
Badge
size xSmall type bold state neutral
Badge
Badge
size medium type subtle state feature
Badge
Badge
size small type subtle state feature
Badge
Badge
size xSmall type subtle state neutral
Badge
Badge
size xSmall type subtle state info
Badge
Badge
size small type subtle state upsell
Badge
Badge
size medium type bold state feature
Badge
Badge
size medium type bold state info
Badge
Badge
size small type bold state info
Badge
Badge
size xSmall type bold state info
Badge
Badge
size medium type bold state inverseNeutral
Badge
Badge
size xSmall type bold state inverseNeutral
Badge
Badge
size medium type bold state neutral
Badge
Badge
size small type bold state neutral
Badge
Badge
size medium type bold state success
Badge
Badge
size small type bold state success
Badge
Badge
size medium type bold state upsell
Badge
Badge
size small type bold state upsell
Badge
Badge
size xSmall type bold state upsell
Badge
Badge
size small type bold state warning
Badge
Badge
size xSmall type bold state warning
Badge
Badge
size xSmall type subtle state feature
Badge
Badge
size medium type subtle state neutral
Badge
Badge
size small type subtle state neutral
Badge
Badge
size medium type subtle state success
Badge
Badge
size xSmall type subtle state success
Badge
Badge
size medium type subtle state warning
Badge
Badge
size small type subtle state warning
Badge
Badge
size xSmall type subtle state warning

Behaviour

The Badge component can optionally indicate updates when its content changes.

In code, you can enable the statusAnimation prop to trigger an animation whenever the badge’s label or count updates. This animation helps communicate that a change has occurred. It will not trigger on initial load, only when the label or count changes.

When triggered, the badge performs a subtle pulse accompanied by a brief color change, drawing attention to the update while maintaining overall interface consistency.

The following shows what the badge animation looks like when triggered.

Animation showing the badge status animation. As the count changes the badge has a slight pulse and colour change to indicate that a change has occurred

Accessibility considerations

In adherence to our Motion guidelines if a user has prefers-reduced-motion enabled the animation will be disabled.


Component dependencies

This component is internally dependent on the following components:



Help and support