BalanceReckon Design System
Feedback & indicatorsBadge

Badge

Use badges to highlight an item's status for quick recognition.

BadgeProps

PropTypeRequiredDefaultDescription
labelstringYes—The label of the badge.
sizeBadgeSize
xsmall|small|medium
—mediumThe size of the badge.
toneBadgeToneColors
primary|primary-inverse|secondary|secondary-inverse|neutral|neutral-inverse|critical|critical-inverse|positive|cautious|informative|disabled
—neutralThe tone of the badge.
weightWeightType
bold|subtle|text
—subtleThe visual "weight" of the badge.
Also accepts DisallowStyleProps, ValidBoxProps

IndicatorDotProps

PropTypeRequiredDefaultDescription
'aria-label'string——When the intent isn't provided by text, you must supply an "aria-label" for assistive tech users.
size
xsmall|small|medium
—medium—
toneIndicatorToneColors
primary|neutral|critical|positive|cautious|informative|disabled
Yes——
Also accepts DisallowStyleProps

NotificationBadgeProps

PropTypeRequiredDefaultDescription
maxnumber——Optional cap value for the badge. When the `value` is greater than the `max` prop, a "+" will automatically be appended.
toneBadgeToneColors
primary|primary-inverse|secondary|secondary-inverse|neutral|neutral-inverse|critical|critical-inverse|positive|cautious|informative|disabled
——The tone of the badge.
valuenumberYes—The number displayed inside the badge.
Also accepts DisallowStyleProps, ValidBoxProps