Pulse
Pulse

Components

Badge

A small status pill built entirely from existing feedback tokens — no new colors. Static, not interactive.

Playground

Active

Variant

Dot

Variants

Success

Completed, active, healthy. Reuses feedback-success-bg + text-success.

Success

Warning

Needs attention, pending. Reuses feedback-warning-bg + text-warning.

Warning

Danger

Failed, blocked, error. Reuses feedback-danger-bg + text-danger.

Danger

Neutral

Default, no strong signal. Reuses background/tertiary + text-secondary.

Neutral

Dot Mode

SuccessWarningDangerNeutral

A smaller footprint than the full pill — reads well inline in a table row or a dense list where the pill's padding would crowd adjacent columns.

Props

PropTypeDefaultDescription
variant"success" | "warning" | "danger" | "neutral""neutral"Which feedback color pairing to use.
dotbooleanfalseRenders a small colored dot instead of a full pill — for compact status in dense contexts like table rows.
childrenReactNode—Badge label.
...restHTMLAttributes<HTMLSpanElement>—className, aria-*, and any other native span prop.

Usage Guidelines

When to use

  • Use for compact, at-a-glance status next to a label, in a table cell, or beside a heading (Success/Warning/Danger/Neutral).

When not to use

  • Don't put more than a couple words in a Badge — it isn't built for wrapping text.
  • Don't use Badge as a clickable control — it's static. Use Button or a link if it needs to be actionable.

Usage