Component · Primitives

Badge

a small status indicator — an unread count, a short label ("AI"), or a bare presence dot.

Example

Playground

kind
variant
 

Where available

React
Angular
Web Components
Blazor
Tokens

Using it

the same component, named idiomatically per target. one CSS contract underneath, so they render identically.

TargetReferencePackage
React <Badge> @design-foundry/lucent-react
Angular <lucent-badge> @design-foundry/lucent
Web Components <lucent-badge> @design-foundry/lucent-wc
Blazor <LucentBadge> DesignFoundry.Lucent

API

PropTypeDefaultDescription
kind count | label | dot label shape / content.
variant accent | error | success | neutral neutral colour axis.
label string count / label text (ignored for dot).