Gathering detailed insights and metrics for react-loading-icons
Gathering detailed insights and metrics for react-loading-icons
npm install react-loading-icons
Typescript
Module System
Min. Node Version
Node Version
NPM Version
TypeScript (96.4%)
JavaScript (2.46%)
HTML (0.92%)
Shell (0.22%)
Love this project? Help keep it running — sponsor us today! 🚀
Total Downloads
1,281,417
Last Day
87
Last Week
87
Last Month
35,799
Last Year
533,730
58 Stars
91 Commits
3 Forks
2 Watching
6 Branches
1 Contributors
Minified
Minified + Gzipped
Latest Version
1.1.0
Package Id
react-loading-icons@1.1.0
Unpacked Size
161.63 kB
Size
18.54 kB
File Count
93
NPM Version
8.5.5
Node Version
16.15.0
Cumulative downloads
Total Downloads
Last day
0%
87
Compared to previous day
Last week
-98.8%
87
Compared to previous week
Last month
0.7%
35,799
Compared to previous month
Last year
14.2%
533,730
Compared to previous year
44
A pure SVG zero-dependency React adaptation of Sam Herbert's SVG Loaders library.
Built with React 17 and TypeScript. Check out the Demo!
Also works with JavaScript, of course (supports ESM tree shaking).
1yarn add react-loading-icons
1npm install react-loading-icons
You can import all the loaders at once:
1import LoadingIcons from 'react-loading-icons'
and use them in a namespaced manner:
1<LoadingIcons.Bars />
You can also import a single loader:
1import { Bars } from 'react-loading-icons'
and use it without any fancy namespacing:
1<Bars />
You can even go as far as copying over a single .js file from the dist/components
directory to your project — this way you can directly import a certain loading icon without having to import the whole package.
1<Audio /> 2<BallTriangle /> 3<Bars /> 4<Circles /> 5<Grid /> 6<Hearts /> 7<Oval /> 8<Puff /> 9<Rings /> 10<SpinningCircles /> 11<TailSpin /> 12<ThreeDots />
Each of these components will accept any SVG tag presentation attributes as well as all valid JSX properties (key
, onClick
, …) as props. Animation speed can be controlled via speed attribute (1
= 100% speed, .5
= 50% speed, 2
= 200%, and so on). The components are also smart about inheriting fill
, fillOpacity
, stroke
, strokeOpactiy
and strokeWidth
, so these can also easily be controlled.
1// renders the Puff icon with a mint green stroke 2<Puff stroke="#98ff98" /> 3 4// renders the Puff icon's mint green stroke with an opacity of 12.5% 5<Puff stroke="#98ff98" strokeOpacity={.125} /> 6 7// renders the Puff icon at 75% speed with a mint green stroke with an opacity of 12.5% 8<Puff stroke="#98ff98" strokeOpacity={.125} speed={.75} />
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
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 SAST tool detected
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
42 existing vulnerabilities detected
Details
Score
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