v1.0.0 Stable API · 9.6 kB · no dependencies
Show what the AI is working on, not just that it’s busy.
Thinking, searching, writing, done. Each step has its own loader, and screen readers hear every change once.
96px · thinking
Eight loaders, one API
Section titled “Eight loaders, one API”Each one reads at 20px, holds still under reduced motion, and follows your text color. Not sure which? Choosing a loader.
- Follows the AISet the state and the loader cross-fades to match. Endings draw a mark once and hold still.
- Accessible by defaultOne shared announcer, so loaders never talk over each other. Reduced motion and forced colors handled.
- Works anywhereReact, Vue, a web component for everything else, or one function call. No dependencies.
- Cheap to runCanvas loaders share one animation loop and stop drawing off-screen. 7.4 kB with one loader.