Popularity
7.9
Stable
Activity
3.2
Growing
9,304
192
1,084

Code Quality Rank: L4
Monthly Downloads: 0
Programming language: JavaScript
License: MIT License
Tags: Loading Status     Spinner     Component     Spin    
Latest version: v4.1.0

Spin.js alternatives and similar libraries

Based on the "Loading Status" category

Do you think we are missing an alternative of Spin.js or a related project?

Add another 'Loading Status' Library

README

spin.js JS.ORG

An animated loading spinner

  • No images
  • No dependencies
  • Highly configurable
  • Resolution independent
  • Uses CSS keyframe animations
  • Works in all major browsers
  • Includes TypeScript definitions
  • Distributed as a native ES6 module
  • MIT License

Installation

npm install spin.js

Usage

CSS

<link rel="stylesheet" href="node_modules/spin.js/spin.css">

TypeScript or JavaScript

import {Spinner} from 'spin.js';

var target = document.getElementById('foo');
new Spinner({color:'#fff', lines: 12}).spin(target);

For an interactive demo and a list of all supported options please refer to the project's homepage.


*Note that all licence references and agreements mentioned in the Spin.js README section above are relevant to that project's source code only.