Component packs › Coil › Stair Loader
A coil walks down an endless flight of stone steps: the top end arcs over, the rings pour after it, and the view follows.
Stair Loader is a loader from Coil, a component pack with 6 spring controls: Controls on real coil springs: they compress, stretch, overshoot and settle like wire does. Price: $2 for the whole pack.
Built with: slinky walk, endless stairs, ring by ring.
Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.
| Prop | Type | Default | Description |
|---|---|---|---|
pace | number | 0.95 | Seconds per step. Default 0.95. |
label | string | "Loading" | Accessible name. Default "Loading". |
destroy(): voidimport StairLoader from './StairLoader';
<StairLoader />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Buttons.