Agent Loading States
Agent Progress
AgentProgress.vueInstall
Run it in a project set up with shadcn-vue. The source is copied to components/beui and its dependencies are added to your package.json. Read the shadcn-vue guide
Download the release archive to your project root, then install the local file.
Import the shared styles once in your application.
API Reference
label?stringVerb describing the agent's current activity.
—elapsedSeconds?numberControlled elapsed time in seconds.
—initialSeconds?numberStarting time for the internal timer, in seconds.
0running?booleanWhether the internal timer should advance. Ignored when elapsedSeconds is provided.
truelabels?LabelsOverride any built-in string. `{label}` fills `inProgress`.
—class?string—Composition
Choose one loading primitive for the amount of progress information the agent can truthfully expose.
Message
└── MessageContent
├── ThinkingShimmer
├── AgentProgress
└── ReasoningTextNote: Agent Activity takes over once structured execution events exist. Todo List shows durable progress when a plan becomes available. Streaming Response replaces loading once answer content begins arriving.
How it works
An agent loading state should communicate ongoing work without inventing progress. Choose the smallest signal that matches what the system actually knows and keep its language stable while work continues.
Updated