loadingio/css-spinner
loadingio/css-spinner has 1,763 GitHub stars and 233 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-07 02:13 UTC. Last push 2023-06-05.
small, elegant pure css spinner for ajax or loading animation
What you can do
- vanilla - no external dependency and no additional library required.
- standalone - use any of them separately.
- customizable - use Stylus variables to quickly customize them to fit your needs.
- easy to use - simply copy & paste while also easy to use with pug mixins.
Measured star growth
- in 24h
- 0
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Originalcss-spinner
Collection of 12 small, elegant pure css spinners for your website's loading animation.
![]()
Features
- vanilla - no external dependency and no additional library required.
- standalone - use any of them separately.
- customizable - use Stylus variables to quickly customize them to fit your needs.
- easy to use - simply copy & paste while also easy to use with pug mixins.
- small - average size 1K per spinner unminimized, unzipped
Usage
loading.io provides a web interface to quickly choose and copy your desired spinners, yet you can still find the source code in this repository. The basic usage is as:
- Find and download the html files of desired loader under dist folder.
- Copy its content to the place you want to use this loader.
Separated CSS and HTML files are also available under build folder for reusing CSS codes to reduce payload size.
We also provide stylus and pug source files for better integrating these spinners into your project. Find corresponding stylus and pug files for your desired spinners under src/ folders.
To use stylus files alone, you will have to provide variables listed in vars.styl.
npm package
This module is also released through npm as @loadingio/css-spinner.
Build
You can also customize all these loaders by building them yourself.
- First, update
vars.stylbased on your needs. - make sure required packages are installed by
npm install. You will need NPM / NodeJS pre-installed. - build with this command:
npm run build- generated files will be in
dist/folder.
- generated files will be in
Browser Compatibility
These spinners use CSS Animation and Transformation which is widely supported by major modern browsers except IE<=9. To support older browsers like IE9, please use loading.io to generate alternative GIF Loaders instead.
License
All loader files here are released under CC0 License. However, you could attribute to this link: loading.io css spinner ( https://loading.io/css/ ) to give loading.io a thumbs-up.
Other source codes are released under MIT License.
Other Resources
If you want to make custom css loading animation, loading.io also provides loading.css - A pure CSS loading animation library, and a helper GIF builder. Don't forget to check it out and share your customized loader with us!
Explore related projects
ytdl-org/youtube-dl
Command-line program to download videos from YouTube.com and other video sites
141,473 starsexcalidraw/excalidraw
Virtual whiteboard for sketching hand-drawn like diagrams
135,243 starsgodotengine/godot
Godot Engine – Multi-platform 2D and 3D game engine
119,710 starsmrdoob/three.js
JavaScript 3D Library.
117,745 stars