JB-Loading

simple purejs loading

Easy to use web component for showing loading in your web pages

Usage

Since jb-loading is a web-component you can use it in pure html site and any JS framework like React, Angular, Vue,... so you have 2 way to using it:

in first way you just have to install jb-loading and import it's scripts anyway in app and then use it anywhere with simple HTML Tag <jb-loading > </jb-loading > read more detail here

in second way just add following script tag in your html and then write <jb-loading > </jb-loading > tag anywhere in your HTML file

<script src="https://cdn.jsdelivr.net/npm/jb-loading/dist/JBLoading.umd.js"></script>

examples

fit wrapper size

size with css vaiable

with different color

you can read more and get this package from npm or github