<canvas>Device-pixel aware
Canvas scales to the display, with device pixel ratio capped at 2×.
Canvas loaders for the web platform
A compact, framework-agnostic loader component with motion you can tune to the moment.
Spiraling
Interactive playground
Every property below updates a real loader. Pick a state from the full library, then make it yours.
Canvas 2D · reduced-motion aware
All states
Click a card to load it above. Hover a card to wake up its preview.
Implementation notes
<canvas>Canvas scales to the display, with device pixel ratio capped at 2×.
loadersz/racingA fixed-state import skips the runtime switcher and its unused states.
visibilitychangeMotion respects reduced-motion preferences and pauses in hidden tabs.
Full library or one state
npm install loadersz
import 'loadersz';
// Or: import 'loadersz/racing';Installation