Skip to content

TaskStateBadge

stable

Badge for the nine A2A protocol TaskStates (submitted, working, input-required, auth-required, completed, failed, canceled, rejected, unknown). Extends the StateBadge anatomy with protocol-grouped semantic colors; exports a taskStateGroup helper for branching on active/interrupted/terminal.

Orchestration/Storybook ↗
import { TaskStateBadge } from "@nodus/design-system/patterns"
Loading demo…

Props

staterequired
Type 'submitted' | 'working' | 'input-required' | 'auth-required' | 'completed' | 'failed' | 'canceled' | 'rejected' | 'unknown'Default

The A2A TaskState to display (wire-format kebab-case value).

semantictype
Design Rationale

This component was designed to express:

Explore Related

Was this helpful?