Skip to main content
NotificationCounter displays the supplied number without clamping it or hiding zero. Use the surrounding label to explain what the count means.
variant="secondary" changes the badge appearance. The counter has no click handler or live-region behavior of its own.

Props

string
Class applied to the badge.
number
required
Number to display as supplied, without clamping or hiding zero.
"primary" | "secondary"
default:"primary"
Primary or secondary badge styling.