Installations
npm install react-spinners-kit
Developer Guide
Typescript
No
Module System
CommonJS
Node Version
8.12.0
NPM Version
6.9.0
Score
60.4
Supply Chain
90
Quality
74.9
Maintenance
100
Vulnerability
98.6
License
Releases
Unable to fetch releases
Contributors
Unable to fetch Contributors
Languages
JavaScript (100%)
Love this project? Help keep it running — sponsor us today! 🚀
Developer
dmitrymorozoff
Download Statistics
Total Downloads
1,700,538
Last Day
1,045
Last Week
1,045
Last Month
16,090
Last Year
298,460
GitHub Statistics
262 Stars
99 Commits
44 Forks
4 Watching
17 Branches
2 Contributors
Bundle Size
118.28 kB
Minified
13.50 kB
Minified + Gzipped
Package Meta Information
Latest Version
1.9.1
Package Id
react-spinners-kit@1.9.1
Unpacked Size
125.02 kB
Size
14.53 kB
File Count
6
NPM Version
6.9.0
Node Version
8.12.0
Total Downloads
Cumulative downloads
Total Downloads
1,700,538
Last day
0%
1,045
Compared to previous day
Last week
-66.9%
1,045
Compared to previous week
Last month
-10.7%
16,090
Compared to previous month
Last year
-16.7%
298,460
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
5
Peer Dependencies
1
Dev Dependencies
34
React Spinners Kit
A collection of loading spinners built with styled-components.
Live Demo
- To check out live examples visit https://dmitrymorozoff.github.io/react-spinners-kit/
🚀 Installation
Install react-spinners-kit
using npm.
npm install --save react-spinners-kit
or if you prefer yarn
yarn add react-spinners-kit
👨🏻💻 Usage
1import React from "react"; 2import ReactDOM from "react-dom"; 3import { PushSpinner } from "react-spinners-kit"; 4 5class App extends React.Component { 6 constructor(props) { 7 super(props); 8 this.state = { 9 loading: true, 10 }; 11 } 12 13 render() { 14 const { loading } = this.state; 15 return <PushSpinner size={30} color="#686769" loading={loading} />; 16 } 17} 18 19ReactDOM.render(<App />, document.getElementById("root"));
📃 PropTypes and Default Props
- Each spinner accepts a
loading
prop as a boolean. - The
loading
prop defaults totrue
. - The loader will not render anything if
loading
isfalse
.
Spinner | size: number | color: string | frontColor: string | backColor: string | sizeUnit: string |
---|---|---|---|---|---|
BallSpinner | 40 | #00ff89 | - | - | px |
BarsSpinner | 40 | #00ff89 | - | - | px |
CircleSpinner | 30 | #fff | - | - | px |
CubeSpinner | 25 | - | #00ff89 | #686769 | px |
DominoSpinner | 100 | #686769 | - | - | px |
FillSpinner | 20 | #686769 | - | - | px |
FireworkSpinner | 40 | #fff | - | - | px |
FlagSpinner | 40 | #fff | - | - | px |
GridSpinner | 40 | #fff | - | - | px |
GuardSpinner | 40 | - | #00ff89 | #686769 | px |
HeartSpinner | 40 | #fff | - | - | px |
ImpulseSpinner | 40 | - | #00ff89 | #686769 | px |
PulseSpinner | 40 | #fff | - | - | px |
PushSpinner | 30 | #686769 | - | - | px |
SequenceSpinner | 40 | - | #00ff89 | #686769 | px |
SphereSpinner | 30 | #fff | - | - | px |
SpiralSpinner | 40 | #00ff89 | #686769 | px | |
StageSpinner | 40 | #fff | - | - | px |
SwapSpinner | 40 | #686769 | - | - | px |
WaveSpinner | 30 | #fff | - | - | px |
ClapSpinner | 30 | - | #00ff89 | #686769 | px |
RotateSpinner | 45 | #00ff89 | - | - | px |
SwishSpinner | 40 | - | #4b4c56 | #fff | px |
GooSpinner | 55 | #fff | - | - | px |
CombSpinner | 100 | #fff | - | - | px |
PongSpinner | 60 | #4b4c56 | - | - | px |
RainbowSpinner | 50 | #fff | - | - | px |
RingSpinner | 30 | #00ff89 | - | - | px |
HoopSpinner | 45 | #4b4c56 | - | - | px |
FlapperSpinner | 30 | #00ff89 | - | - | px |
MagicSpinner | 70 | #fff | - | - | px |
JellyfishSpinner | 60 | #4b4c56 | - | - | px |
TraceSpinner | 70 | - | #00ff89 | #4b4c56 | px |
ClassicSpinner | 30 | #fff | - | - | px |
MetroSpinner | 40 | #fff | - | - | px |
WhisperSpinner | 50 | #fff | #4b4c56 | #00ff89 | px |
Development
You can also test the components locally by cloning this repo and doing the following steps:
Install dependencies from package.json
:
npm install
Runs the app in the development mode.
Open http://localhost:1234 to view it in the browser.
npm start
Run linter
npm run lint
💻 Contributing
- Pull requests and ⭐ stars are always welcome
- For bugs and feature requests, please create an issue
- Lint and test your code
License
MIT
![Empty State](/_next/static/media/empty.e5fae2e5.png)
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: MIT License: LICENSE:0
Reason
no SAST tool detected
Details
- Warn: no pull requests merged into dev branch
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Reason
87 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92
- Warn: Project is vulnerable to: GHSA-6chw-6frg-f759
- Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw
- Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw
- Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg
- Warn: Project is vulnerable to: GHSA-x9w5-v3q2-3rhw
- Warn: Project is vulnerable to: GHSA-w8qv-6jwh-64r5
- Warn: Project is vulnerable to: GHSA-257v-vj4p-3w2h
- Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275
- Warn: Project is vulnerable to: GHSA-p28h-cc7q-c4fg
- Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c
- Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq
- Warn: Project is vulnerable to: GHSA-ff7x-qrg7-qggm
- Warn: Project is vulnerable to: GHSA-vh7m-p724-62c2
- Warn: Project is vulnerable to: GHSA-r9p9-mrjm-926w
- Warn: Project is vulnerable to: GHSA-434g-2637-qmqr
- Warn: Project is vulnerable to: GHSA-49q7-c7j4-3p7m
- Warn: Project is vulnerable to: GHSA-977x-g7h5-7qgw
- Warn: Project is vulnerable to: GHSA-f7q4-pwc6-w24p
- Warn: Project is vulnerable to: GHSA-fc9h-whq2-v747
- Warn: Project is vulnerable to: GHSA-ww39-953v-wcq6
- Warn: Project is vulnerable to: GHSA-765h-qjxv-5f44
- Warn: Project is vulnerable to: GHSA-f2jv-r9rf-7988
- Warn: Project is vulnerable to: GHSA-vfrc-7r7c-w9mx
- Warn: Project is vulnerable to: GHSA-7wwv-vh3v-89cq
- Warn: Project is vulnerable to: GHSA-43f8-2h32-f4cj
- Warn: Project is vulnerable to: GHSA-qqgx-2p2h-9c37
- Warn: Project is vulnerable to: GHSA-7r28-3m3f-r2pr
- Warn: Project is vulnerable to: GHSA-r8j5-h5cx-65gg
- Warn: Project is vulnerable to: GHSA-896r-f27r-55mw
- Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h
- Warn: Project is vulnerable to: GHSA-6c8f-qphg-qjgp
- Warn: Project is vulnerable to: GHSA-76p3-8jx3-jpfq
- Warn: Project is vulnerable to: GHSA-3rfm-jhwj-7488
- Warn: Project is vulnerable to: GHSA-hhq3-ff78-jv3g
- Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw
- Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9
- Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm
- Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv
- Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3
- Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m
- Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h
- Warn: Project is vulnerable to: GHSA-92xj-mqp7-vmcj
- Warn: Project is vulnerable to: GHSA-wxgw-qj99-44c2
- Warn: Project is vulnerable to: GHSA-5rrq-pxf6-6jx5
- Warn: Project is vulnerable to: GHSA-8fr3-hfg3-gpgp
- Warn: Project is vulnerable to: GHSA-gf8q-jrpm-jvxq
- Warn: Project is vulnerable to: GHSA-2r2c-g63r-vccr
- Warn: Project is vulnerable to: GHSA-cfm4-qjh2-4765
- Warn: Project is vulnerable to: GHSA-x4jg-mjrx-434g
- Warn: Project is vulnerable to: GHSA-5fw9-fq32-wv5p
- Warn: Project is vulnerable to: GHSA-9v62-24cr-58cx
- Warn: Project is vulnerable to: GHSA-r8f7-9pfq-mjmv
- Warn: Project is vulnerable to: GHSA-rp65-9cf3-cjxr
- Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9
- Warn: Project is vulnerable to: GHSA-566m-qj78-rww5
- Warn: Project is vulnerable to: GHSA-7fh5-64p2-3v2j
- Warn: Project is vulnerable to: GHSA-hwj9-h5mp-3pm3
- Warn: Project is vulnerable to: GHSA-wvhm-4hhf-97x9
- Warn: Project is vulnerable to: GHSA-h4hr-7fg3-h35w
- Warn: Project is vulnerable to: GHSA-gj77-59wh-66hg
- Warn: Project is vulnerable to: GHSA-hqhp-5p83-hx96
- Warn: Project is vulnerable to: GHSA-3949-f494-cm99
- Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp
- Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6
- Warn: Project is vulnerable to: GHSA-7mwh-4pqv-wmr8
- Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw
- Warn: Project is vulnerable to: GHSA-m6fv-jmcg-4jfg
- Warn: Project is vulnerable to: GHSA-hxcc-f52p-wc94
- Warn: Project is vulnerable to: GHSA-cm22-4g7w-348p
- Warn: Project is vulnerable to: GHSA-vx3p-948g-6vhq
- Warn: Project is vulnerable to: GHSA-3jfq-g458-7qm9
- Warn: Project is vulnerable to: GHSA-5955-9wpr-37jh
- Warn: Project is vulnerable to: GHSA-f5x3-32g6-xq36
- Warn: Project is vulnerable to: GHSA-r628-mhmh-qjhw
- Warn: Project is vulnerable to: GHSA-9r2w-394v-53qc
- Warn: Project is vulnerable to: GHSA-qq89-hq3f-393p
- Warn: Project is vulnerable to: GHSA-4wf5-vphf-c2xc
- Warn: Project is vulnerable to: GHSA-jgrx-mgxx-jf9v
- Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3
- Warn: Project is vulnerable to: GHSA-w5p7-h5w8-2hfq
- Warn: Project is vulnerable to: GHSA-7p7h-4mm5-852v
- Warn: Project is vulnerable to: GHSA-cf4h-3jhx-xvhq
- Warn: Project is vulnerable to: GHSA-6fc8-4gx4-v693
- Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q
- Warn: Project is vulnerable to: GHSA-c4w7-xm78-47vh
- Warn: Project is vulnerable to: GHSA-p9pc-299p-vxgp
Score
1.7
/10
Last Scanned on 2025-02-03
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More