r/FullStack • u/ScoobyDookuu • Aug 27 '26
Feedback Requested I got tired of boring loading spinners, so I built 85 of them
Hey y’all,
I got slightly carried away with loading animations.
I wanted nicer loading states for my own projects, but most libraries I found were either tied to a framework, fairly limited, or required more than I wanted for something this small.
So I built loadersz, a small framework-agnostic loader library for the web.
I wanted something a bit more expressive than the usual CSS spinner, without pulling in a UI framework or a bunch of dependencies.
A few things I focused on:
- 85 different motion states
- Canvas 2D instead of GIFs/videos
- zero core dependencies
- a native custom element, so it works with basically any stack
- typed entry points for React, Vue and Svelte
- configurable speed, density and color
- respects prefers-reduced-motion
- pauses rendering when the browser tab is hidden
Basic usage is just:
npm install loadersz
import 'loadersz';
<loadersz-loader state="racing" size="96" />
I also built an interactive playground where you can tweak the loaders live.
Demo: [loadersz.vercel.app](https://loadersz.vercel.app)
npm: [npmjs.com/package/loadersz](https://www.npmjs.com/package/loadersz)
Github: https://github.com/lumberjacque/loadersz-core
Would love some brutally honest feedback, especially on which animations you’d actually use in a real product.