Gathering detailed insights and metrics for react-loading-icons
Gathering detailed insights and metrics for react-loading-icons
Gathering detailed insights and metrics for react-loading-icons
Gathering detailed insights and metrics for react-loading-icons
A TypeScript-React edition of Sam Herbert's amazing SVG Loaders.
npm install react-loading-icons
Typescript
Module System
Min. Node Version
Node Version
NPM Version
94.1
Supply Chain
96.7
Quality
75.6
Maintenance
100
Vulnerability
100
License
TypeScript (96.4%)
JavaScript (2.46%)
HTML (0.92%)
Shell (0.22%)
Total Downloads
1,555,692
Last Day
572
Last Week
13,591
Last Month
58,098
Last Year
641,334
NOASSERTION License
58 Stars
91 Commits
4 Forks
2 Watchers
6 Branches
1 Contributors
Updated on Jan 26, 2025
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
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 binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no SAST tool detected
Details
Reason
no effort to earn an OpenSSF best practices badge detected
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
49 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-06-30
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 MoreLast Day
-47.9%
572
Compared to previous day
Last Week
-6%
13,591
Compared to previous week
Last Month
14.1%
58,098
Compared to previous month
Last Year
24.8%
641,334
Compared to previous year