• Stars
    star
    1,731
  • Rank 26,918 (Top 0.6 %)
  • Language
    JavaScript
  • Created over 7 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

small, elegant pure css spinner for ajax or loading animation

css-spinner

Live Demo

Collection of 12 small, elegant pure css spinners for your website's loading animation.

css spinner

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:

  1. Find and download the html files of desired loader under dist folder.
  2. 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.styl based 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.

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!

More Repositories

1

loading-bar

Flexible, light weighted and super fast Progress Bar Library
LiveScript
407
star
2

loading.css

40+ Handcrafted CSS animations dedicated for your loaders
Stylus
138
star
3

transition.css

css animation for transitional effect
LiveScript
61
star
4

ldloader

handy library to manipulate loader's state.
JavaScript
21
star
5

ldcover

popup / dialog library
HTML
13
star
6

ldbutton

css for button that loads
JavaScript
12
star
7

ldcolorpicker

Palette-awared Color Picker
Pug
8
star
8

awesome-animation

8
star
9

rainbow-heart

a sample collection of animated rainbow heart from loading.io for demonstration purpose.
7
star
10

ldslider

Slider library in Vanilla JS
JavaScript
5
star
11

ldquery

lightweight DOM Helpers in vanillaJS.
LiveScript
4
star
12

transition.js

JavaScript
3
star
13

ldlazy

Vanilla JS Lazy Show Library
JavaScript
3
star
14

angular-loading-bar

TypeScript
3
star
15

ldscroll

HTML
2
star
16

proxise

Proxy for Promise resolving outside Promise function.
LiveScript
2
star
17

ldiconfont

iconfont builder along with a set of prebuilt pixel-perfect icons.
JavaScript
2
star
18

ldfile

JavaScript
2
star
19

state.css

Stateful CSS Animations
HTML
2
star
20

ldParallax

HTML
2
star
21

polling

tiny vanilla JS Polling library
LiveScript
2
star
22

ldcaret

caret manipulation library in Vanilla JS.
JavaScript
2
star
23

debounce.js

Promise-based function debouncing for JavaScript
LiveScript
2
star
24

ldview

A simple, logic-less client side template engine.
JavaScript
2
star
25

cubify

transform path d attribute into list of cubic bezier segment
JavaScript
2
star
26

cdn

a dummy cdn for loading.io projects
Shell
2
star
27

ldgradienteditor

Minimalist, Lightweight, Vanilla Gradient Editor
JavaScript
2
star
28

easing-fit

LiveScript
2
star
29

g0v-icons

animated icons for the civic tech community g0v
HTML
2
star
30

ldform

LiveScript
1
star
31

ldnotify

CSS
1
star
32

ldSite

LiveScript
1
star
33

ldpalettepicker

JavaScript
1
star
34

three

JavaScript
1
star
35

svgtool

LiveScript
1
star
36

wp-svg-reload

PHP
1
star
37

cubic

JavaScript
1
star
38

vscroll

HTML
1
star
39

mini-fonts

minimized version of the fonts used in loading.io
LiveScript
1
star
40

inline-webfont

font subsetting to 95 core glyphs + woff2 + inline with dataurify in CSS
LiveScript
1
star
41

signimg

CSS
1
star
42

ldstate

JavaScript
1
star
43

ldText

letter-based animation library
LiveScript
1
star
44

ldcolor

lightweight JS color library, adopted from d3-color.
LiveScript
1
star