Socket
Socket
Sign inDemoInstall

react-spinners-css

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-spinners-css

[![npm module](https://badge.fury.io/js/react-spinners-css.svg)](https://www.npmjs.com/package/react-spinners-css) [![GitHub stars](https://img.shields.io/github/stars/joshk2/react-spinners-css)](https://github.com/JoshK2/react-spinners-css/stargazers) [!


Version published
Weekly downloads
526
decreased by-12.91%
Maintainers
1
Weekly downloads
 
Created
Source

React Spinners CSS Loaders

npm module GitHub stars GitHub license Twitter Follow

Amazing collection of pure CSS react spinners components of css spinners for ajax or loading animation based on loading.io.

🚀 List of components

  • <Circle />
  • <Default />
  • <DualRing />
  • <Ellipsis />
  • <Facebook />
  • <Grid />
  • <Heart />
  • <Hourglass />
  • <Ring />
  • <Ripple />
  • <Roller />
  • <Spinner />
Props
PropTypeDefault
colorstring#7f58af

💻 Installation and Usage Examples

Using npm to install react-spinners-css:

$ npm i --save react-spinners-css
import { Circle, Facebook } from "react-spinners-css";
...
render() {
   return(
     <div>
       <Circle /> //default color is #7f58af
       <Circle color="red" />
       <Facebook /> //default color is #7f58af
       <Facebook color="red" />
     </div>
   )
}

👾 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

Steps to contribute

  1. Fork the project and clone.
  2. Create spinner folder in this folder, name the folder with upper case, and create index file and css file. See example of naming in this folder folder.
  3. The spinner need to be exported with index file inside the spinner folder, so create index.js file to export your spinner.
  4. Add the spinner in index.js file inside components folder.
  5. Run npm run build to generate the build folder folder.
  6. Share with the community by submitting a PR.

📄 License

MIT

Keywords

FAQs

Package last updated on 29 Aug 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc