Working border
A surface whose edge carries a moving light only while real work is pending, such as an agent run or an import. When the work ends the light stops.
Importing 2,184 transactions…
Matching payees and categories. You can leave this page.
When to use
- A card or panel that is busy as a whole.
- Showing which of several items is running.
When not to use
- Decoration; it must mean work is happening.
- Long idle states; say queued, not running.
Installation
terminal
pnpm dlx shadcn@latest add @caliper/working-border
Adds its 2 files to components/ui/, each with its own stylesheet, and installs their packages. Pro installs with your access token, set up once per project. See Pro access. The first part also adds Caliper UI’s tokens; import them once as in Installation.
API reference
WorkingBorder
1 prop
Also accepts the native props of its root element and a ref.
PropTypeDefaultDescription
active *boolean—True while the work is actually pending.
Keyboard
- No custom key handling; Tab and the native activation keys do the work.
Accessibility
It is built on native elements and keeps aria-busy in step with state.
Notes for AI
Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.
/docs/components/working-border.mdThe index of every part is at /llms.txt.