Component packs › Ferro › Compass Loader
The needle hunts round the dial while you wait; call done() and it swings to north, overshoots and locks with a ring of light.
Compass Loader is a loader from Ferro, a component pack with 7 components: Components that behave like magnets. Price: $5 for the whole pack.
Built with: searching spring, settle on done, live status.
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 |
|---|---|---|---|
label | string | Text while loading. | |
doneLabel | string | Text once done. | |
size | number | 180 | Dial size in px. Default 180. |
autoplay | boolean | Showcase mode: loads, finds north, waits, repeats. |
done(): void: Finish: the needle settles on north.reset(): void: Start searching again.destroy(): voidimport CompassLoader from './CompassLoader';
<CompassLoader />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Micro-interactions.