Skip to content
↑↓ to navigate↵ to openesc to close

Menu

Agent Loading States

Thinking Shimmer

ThinkingShimmer.vue
Thinking…

Install

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

bunx --bun shadcn-vue@latest add @beui-vue/thinking-shimmer

Import the shared styles once in your application.

TSUsage
import ThinkingShimmer from '@/components/beui/effects/ThinkingShimmer.vue'
import '@/components/beui/styles.css'

API Reference

#default?
slot

Loading message shown to the user.

Default—
duration?
number

Seconds taken for one shimmer pass.

Default1.8
labels?
{ thinking?: string }

Override any built-in string.

Default—
class?
string
Default—
paused?
boolean
Default—

Composition

Choose one loading primitive for the amount of progress information the agent can truthfully expose.

Message
└── MessageContent
    ├── ThinkingShimmer
    ├── AgentProgress
    └── ReasoningText

Note: 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.

Also on React Native. Shimmers, cycling reasoning text and a progress timer.(opens in a new tab)

Updated