Skip to content

StatusBadge

Row status, incident state, workflow step indicators.

KPI trends — use BadgeBar. Classification tags — use ClassificationTag.

  • Podium Text

Auto-generated from src/components/StatusBadge/StatusBadge.tsx. Do not edit by hand. Run pnpm docs:props after changing source JSDoc.

Compact status indicator using Podium design tokens. Renders a pill-shaped label with a 25 % opacity tinted background. Accepts an optional leading icon and supports full color overrides.

Prop Type Required Description
backgroundColor string No Override the background color (CSS value)
children React.ReactNode Yes Text label displayed inside the badge
className string No Additional class name
color string No Override the text color (CSS value)
icon React.ReactNode No Icon element rendered before the label
style React.CSSProperties No Additional inline styles
variant StatusBadgeVariant No Visual variant controlling the color scheme
import { StatusBadge } from '@nike/whisker-component-library';
<StatusBadge variant="warning">In Progress</StatusBadge>;