Skip to content

Badge

Display an indicator that requires attention.

Imports

Usage

Badge Variants

Badge has 4 variants primary secondary outline ghost

Badge Sizes

Badge comes with 3 sizes sm md lg

Floating Badge

In some scenarioes where you want to add a floating badge on an element's corners you can set the Badge component to be floating

API Reference

Prop

Type

Default

sizeunionmd
variantunionprimary
floatingbooleanfalse
positionuniontop-right