Agent Loading States
Reasoning Text
ReasoningText.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
phrases?string[]Phrases cycled through while the agent works.
—variant?"cascade" | "swap" | "scramble"Animation used when the active phrase changes.
cascadeinterval?numberMilliseconds each phrase remains visible.
1800shimmerDuration?numberSeconds taken for one shimmer pass.
2.2#indicator?slotOptional leading visual. Defaults to a terminal-style ASCII loader.
—labels?LabelsOverride any built-in string, including the default phrases.
—class?string—Thinking Shimmer
ThinkingShimmer.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
#default?slotLoading message shown to the user.
—duration?numberSeconds taken for one shimmer pass.
1.8labels?{ thinking?: string }Override any built-in string.
—class?string—paused?boolean—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