Version: 3.2.2


Migrating Badge to v3 will provide a lot more design, size, variant, color and customisation options.


Migrating Badge components can be broadly described in these points:

  • No need to wrap you text inside text component anymore.
  • In v3 the color is controlled by colorScheme prop. And it accepts all the color available in the theme.

Code Comparison#

<Badge success>