Badge

A small status descriptor for labels and counts.

Badge

Variants

DefaultSecondaryDestructiveOutline

Tones

ConfirmedPendingDeclinedInfoDraft
ConfirmedPendingDeclinedInfo
ConfirmedPendingDeclinedInfo

Sizes

SmallDefaultLarge

Status

Online Away Offline

Numbers

89920+

With icon

Verified main Error

Dismissible

Design Engineering Marketing

Rich

shadcn shadcn Active

As link

Gradient

ProNewFeatured

API reference

Inputs

PropTypeDefaultDescription
variantBadgeVariant'default'Brand variant, or the intensity (`soft`/`solid`/`outline`) when a `tone` is set.
tone"danger" | "info" | "neutral" | "primary" | "success" | "warning" | nullnullOptional semantic tone; when set it overrides the brand variant's color.
size"default" | "lg" | "sm"'default'Badge size preset.

Types

BadgeVariant — Badge brand style, or `soft`/`solid` intensity when a `tone` is set.

"default" | "destructive" | "outline" | "secondary" | "soft" | "solid"

Every ng-blatui component also accepts a class input to merge extra Tailwind classes onto the host.