Components

Status Pill

A colored dot and label on a rounded tint, with shortcuts for the default groups: not started, in progress, done.

Not startedIn progressDone

Usage

Use it to:

  • show a workflow status in tables, boards and lists

Don’t use it to:

  • short system labels like “New” (use Badge)
  • categories (use Tag)

Installation

Install the package (React 19):

terminal
npm install @krackedui/motion

Import the styles once, in your app entry or root layout:

/src/main.tsx
import '@krackedui/motion/styles.css';

Use it anywhere inside your app's <Theme> (see Installation):

/src/StatusPillExample.tsx
import { StatusPill } from '@krackedui/motion';

export function StatusDemo() {
  return (
    <>
      <StatusPill color="not-started">Not started</StatusPill>
      <StatusPill color="in-progress">In progress</StatusPill>
      <StatusPill color="done">Done</StatusPill>
    </>
  );
}

Examples

Colors

DefaultGrayBrownOrangeYellowGreenBluePurplePinkRedTeal

Size

In progressIn progress

Dark theme

Not startedIn progressDone

API Reference

StatusPill

A <span>; supports all of its props. Adds:

PropTypeDefault
color
MotionColor"not-started""in-progress""done"
"gray"
size
"sm""md"
"md"

statusColors

The default groups: not-started → gray, in-progress → blue, done → green.

PropTypeDefault

Accessibility

  • Static text; the dot is decorative and the label carries the meaning.
  • Long labels truncate; add title when the full status may be hidden.
© 2026 Motion. Internal documentation.