Component packs › Windsock › Pinwheel Loader
A two-sided paper pinwheel spins faster and slower in the gusts, each sail catching the light, and coasts to a stop when done.
Pinwheel Loader is a loader from Windsock, a component pack with 6 wind controls: Controls moved by the wind: flags that fly, a windsock that fills, a vane that swings round. Price: $2 for the whole pack.
Built with: gust-driven spin, two-sided paper, coast to stop.
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 |
|---|---|---|---|
loading | boolean | ||
label | string | ||
doneText | string | ||
dark | boolean | ||
autoplay | number | false | Showcase mode: finishes and restarts every N ms while visible. |
readonly loading: booleanstart(): voiddone(): voiddestroy(): voidimport PinwheelLoader from './PinwheelLoader';
<PinwheelLoader />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Notifications and toasts.