Skip to content

Badge Notification

New

A compact count or dot attached to a control or destination to announce unread activity.

Added in v2.5.0 · import from "@borneo/react"

Live previewPermalink to this section

This is the production component using the active theme and component contracts.

AnatomyPermalink to this section

Every visible part has one job and a clear requirement.

PartRequirementPurpose
AnchorRequiredThe control or destination the notification describes.
BadgeRequiredA count or dot positioned without changing anchor layout.
Accessible labelRequiredAnnounces the unread meaning, not only the number.

Variants and statesPermalink to this section

Choose a variant for meaning or layout need, never decoration alone.

VariantUse
CountShows a precise unread total up to the configured maximum.
OverflowCompacts large totals to values such as 99+.
DotSignals new activity when the exact count is not useful.
BrandLower urgency than the default danger tone.