Skip to Content
zjkm-ui
Components

Agent Status Pill

A pill showing what the agent is doing.

ProPro, coming soon.
Planning
Props
<AgentStatusPill label={label} state={state} />

Get notified

Agent Status Pill is a Pro effect. Join the waitlist and we'll email you when it's available.

Usage

Shows what your agent is doing in a few words. A new label slides in, and the dot pulses while the agent works. It's a status region, so screen readers announce each new label.

import { AgentStatusPill } from "@zjkm/pro/agent-status-pill";

export function AgentHeader({ step }: { step: string }) {
  return <AgentStatusPill label={step} state="working" />;
}

Props

PropTypeDefaultDescription
labelstringWhat the agent is doing.
state"idle" | "working" | "done" | "error""working"Sets the dot colour. Working pulses.
classNamestringClasses for the pill.

With reduced motion, labels change without sliding and the dot doesn't pulse.

On this page