GitHubnpm

Accent theme

Base radius

GitHubnpm

Accent theme

Base radius

Colour scheme

Docs menu

Guides


Primitives
Forms
Layout
Feedback
Overlays
Navigation
Data Display
AI

Badge

A small status chip. There's no HTML element for "badge",<span> is the honest choice for an inline, semantically neutral run of text that only needs presentational styling, one of the rare cases here without a more specific native anchor.

NeutralNewShippedBetaDeprecated

Playground

Toggle every adjustable prop and watch the component — and the code — update live.

Active
Unstyled

Same component — Kernel look stripped. See Platforms.

variant
Usage
<Badge>Active</Badge>

Props

Props for Badge.
PropTypeDefault
variant"neutral" | "accent" | "success" | "warning" | "danger""neutral"