Loaders
Thirty-five loading states for agents, on one shared clock: thinking, beads, bloom, anagram, ascii and more.
npx shadcn@latest add https://captain-loaders.vercel.app/r/thinking.jsonLoaders is a Captain family piece with its own repo: github.com/jawadjalal/loaders. Install it with the command above.
Usage
import { Thinking } from "@/components/loaders/thinking"
<Thinking size={24} />Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| size | number | 24 | Height in px. |
| color | string | currentColor | Ink for the neutral parts. |
| palette | string[] | Accents, used in order. | |
| speed | number | 1 | 1 is the designed speed. |
Accessibility
- role=status with a label you can set.
- Stops under prefers-reduced-motion.
- All 35 at 112px hold 60fps on 2 vCPU.