npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

ng-spinners

v1.1.3

Published

[![bit components](https://img.shields.io/badge/dynamic/json.svg?color=6e3991&label=bit%20components&query=payload.totalComponents&url=https%3A%2F%2Fapi.bit.dev%2Fscope%2Fjoshk%2Fng-spinners)](https://bit.dev/joshk/ng-spinners) [![npm version](https://bad

Downloads

236

Readme

Angular Spinners CSS Loaders (Vue, React)

bit components npm version GitHub stars code style: prettier GitHub license Twitter Follow

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

Using npm to install ng-spinners

npm i --save ng-spinners

Play and install spinners for Angular with Bit

Install 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-loader
yarn add @bit/joshk.ng-spinners.facebook-loader
bit import joshk.ng-spinners/facebook-loader 

💻 Usage Examples

module file example:

import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';

import { AppComponent } from './app.component';
//using npm or yarn
import { FacebookLoaderModule } from 'ng-spinners';
//using bit
import { FacebookLoaderModule } from '@bit/joshk.ng-spinners.facebook-loader';

@NgModule({
	declarations: [
		AppComponent,
	],
	imports: [
		BrowserModule,
		FacebookLoaderModule
	],
	providers: [],
	bootstrap: [AppComponent]
})
export class AppModule { }

component html file example:

<facebook-loader color="black"></facebook-loader>
<facebook-loader color="#de3541"></facebook-loader>
<facebook-loader></facebook-loader>

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. 💫

📄 License

MIT