Vue, React)
Angular Spinners CSS Loaders (Amazing collection of Angular spinners components with pure css.
The Angular spinners are based on loading.io and from all over the web.
- π No extra CSS imports
- βοΈZero dependencies
- π¦Spinners can be installing separately
Live Demo
Browse components and explore their props with Bit.
Install specific angular spinner component with npm, yarn or bit without having to install the whole project.
Install components and live demo
π List of Spinners - Input and Default Property
Each component accepts a color
prop, and few accepts also size
prop.
The default color
prop is #7f58af
.
Component that accepts size
prop have a default size in pixel.
Spinner | color: string | size: number |
---|---|---|
<circle-loader></circle-loader> |
#7f58af |
64 |
<default-loader></default-loader> |
#7f58af |
- |
<dualring-loader></dualring-loader> |
#7f58af |
- |
<ellipsis-loader></ellipsis-loader> |
#7f58af |
- |
<facebook-loader></facebook-loader> |
#7f58af |
- |
<grid-loader></grid-loader> |
#7f58af |
- |
<heart-loader></heart-loader> |
#7f58af |
- |
<hourglass-loader></hourglass-loader> |
#7f58af |
- |
<ring-loader></ring-loader> |
#7f58af |
80 |
<ripple-loader></ripple-loader> |
#7f58af |
- |
<roller-loader></roller-loader> |
#7f58af |
- |
<spinner-loader></spinner-loader> |
#7f58af |
- |
<orbitals-loader></orbitals-loader> |
#7f58af |
- |
π¦ Installation
npm to install ng-spinners
Usingnpm i --save ng-spinners
Bit
Play and install spinners for Angular withInstall specific Angular spinner component/module with bit, npm or yarn without having to install the whole project Using bit to play with live demo, and try the spinners before install.
set npm regisetry config(one time action):
npm config set '@bit:registry' https://node.bit.dev
and use your favorite package manager:
npm i @bit/joshk.ng-spinners.facebook-loaderyarn add @bit/joshk.ng-spinners.facebook-loaderbit import joshk.ng-spinners/facebook-loader
π» Usage Examples
module file example:
;; ;//using npm or yarn;//using bit; @
component html file example:
Complete example of this component can be found here.
πΎ Development
You can see the components locally by cloning this repo and doing the following steps:
- Install dependencies from
package.json
, run:npm install
. - Run the app in the development mode, run:
npm run start
.
π Contributing
- Pull requests and β stars are always welcome.
- For bugs and feature requests, please create an issue.
ππ» Support my open-source
If you like to support my open-source contributions please star and share this project. π«