Animated SVG Loading Spinner – loader.js

Category: Javascript , Loading | September 13, 2021
AuthorMatheus2212
Last UpdateSeptember 13, 2021
LicenseMIT
Views3,255 views
Animated SVG Loading Spinner – loader.js

An animated loading spinner built with SVG and CSS animations.

How to use it:

1. Add the JavaScript loader.js and Stylesheet loader.css to the page.

<script src="loader.js"></script>
<link rel="stylesheet" href="loader.css" />

2. Show the loading spinner.

Loader.open()

3. Close the loading spinner.

Loader.close()

Changelog:

09/13/2021

  • style: Changed stroke color

You Might Be Interested In:


Leave a Reply