Badge
A short, non-interactive label that reports status or category. Badges are read, not clicked — anything that responds to a press is a Button.
Added in v1.0.0 · import from "@borneo/react"
Interactive previewPermalink to this section
Badges are the one place the status palette appears at small sizes, so each variant is paired with a word.
Variant
Size
Dot
badge-preview.tsx
<Badge
variant="neutral"
size="md"
>
Deployed
</Badge>AnatomyPermalink to this section
VariantsPermalink to this section
Each variant carries a meaning. Using danger red for a category label teaches people to ignore red.
Neutral
Categories, counts
Brand
Plan tiers, highlights
Success
Healthy, complete
Warning
Needs attention
Danger
Failed, blocked
Outline
Version tags, metadata
SizesPermalink to this section
Small in table cells and beside titles; medium everywhere else.
In contextPermalink to this section
Badges earn their space by answering a question the surrounding text does not.
- billing-service
- search-indexer
- legacy-webhooks