Components/Badge

Core component

Badge

Small ink-bordered mono label chip — for status indicators, counts, and "NEW" flags. Always uppercase mono on a saturated fill. Read-only; use Tag for interactive chips.

Display9 colors2 sizesPill option
components/core/Badge.jsx
Colors
All 10 color values
Lime
Pink
Violet
Yellow
Blue
Coral
Neon
Dark
White
Sizes & shapes
size sm / md · pill option
Small
Medium
Pill
Sm pill
Semantic usage
Common status + priority mappings
Active
Draft
Paused
Ended
High
Medium
New
Beta
Pro
Do / Don't
✓ Do
SLAB StudioActive
✕ Don't
Click me

Don't make badges interactive. Use Tag for toggleable chips.

Props
PropTypeDefaultDescription
color"lime"|"pink"|"violet"|"yellow"|"blue"|"coral"|"neon"|"dark"|"white""lime"Fill color. Foreground is auto-selected for contrast.
size"sm"|"md""md"sm = 11px / 2×7px padding. md = 13px / 4×10px.
pillbooleanfalseFully rounded pill shape.
childrenReactNodeLabel text. Always rendered uppercase via CSS.
Usage
import { Badge } from "components/core/Badge";

// Status
<Badge color="neon">Active</Badge>
<Badge color="yellow">Draft</Badge>
<Badge color="coral">High</Badge>

// Pill shape, small size
<Badge color="pink" pill size="sm">Beta</Badge>