Skip to content

Feedback

IBadge

A small label for status. Colour lives in the dot rather than the surface, so a column of them stays readable.

PaidDraftPendingOverdueScheduled

Without a dot

Drop dot and the badge is a plain label. Use it when the text already carries the meaning and there is no state to signal.

ArchivedVerifiedBeta

Sizes

SmallMediumLarge

In a table

One badge per row, scanned down a column.

ReferenceClientStatus
INV-1042Northwind Supplypaid
INV-1043Bluepeak Studiopending
INV-1044Harbour Logisticsoverdue

Props

PropTypeDefaultDescription
variant'neutral' | 'success' | 'warning' | 'danger' | 'info''neutral'Tints the dot, never the surface
size'sm' | 'md' | 'lg''md'Badge scale
dotbooleanfalseShows the status dot
labelstringText, as an alternative to the default slot
asstring'span'Element to render
asChildbooleanfalseRender the child instead, forwarding props
unstyledbooleanDrop built-in classes
classstringMerged with the built-in classes
ui{ root?, dot? }Per-slot class overrides

For a message with a body rather than a one-word status, use IAlert.