Docs
Components
Badge

Badge

Input

Props

PropTypeDescriptionRequired
variantprimary, secondary, dark, gray, light, warning, danger, success, infoThe style variant for the badge, determines its color and appearance.No (defaults to primary)
childrenReact.ReactNodeThe content to be displayed inside the badge.Yes
classNamestringAdditional custom CSS class names to be applied to the badge.No