Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
react-pure-loaders
Advanced tools
React PureComponent loading animations
Install with yarn
:
yarn add react-pure-loaders
Install with npm
:
npm install react-pure-loaders --save
Each loader has their own default properties. You can overwrite the defaults by passing props into the loaders.
Each loader accepts a loading
prop as a boolean. The loader will not render anything if loading
is false
.
import React from 'react';
import { BallBeat } from 'react-pure-loaders';
class AwesomeComponent extends React.Component {
constructor(props) {
super(props);
this.state = {
loading: true
}
}
render() {
return (
<div>
<BallBeat
color={'#123abc'}
loading={this.state.loading}
/>
</div>
)
}
}
Common default props for all loaders:
loading: true
color: '#000000'
Loader | size:int | height:int | width:int | radius:int | margin:str |
---|---|---|---|---|---|
BallBeat | |||||
BallClipRotate | |||||
BallClipRotateMultiple | |||||
BallClipRotatePulse | |||||
BallGridBeat | |||||
BallGridPulse | |||||
BallPulse | |||||
BallPulseRise | |||||
BallPulseRound | |||||
BallPulseSync | |||||
BallRotate | |||||
BallScale | |||||
BallScaleMultiple | |||||
BallScaleRandom | |||||
BallScaleRipple | |||||
BallScaleRippleMultiple | |||||
BallSpinFadeLoader | |||||
BallSpinLoader | |||||
BallTrianglePath | |||||
BallZigZag | |||||
BallZigZagDeflect | |||||
LineScale | |||||
LineScaleParty | |||||
LineScalePulseOut | |||||
LineScalePulseOutRapid | |||||
LineScaleRandom | |||||
LineSpinFadeLoader | |||||
CubeTransition | |||||
Pacman | |||||
SemiCircleSpin | |||||
SquareSpin | |||||
TriangleSkewSpin |
Thanks goes to these wonderful people (emoji key):
James W. Lane III 💻 📖 ⚠️ | Willane Paiva 📖 |
This project follows the all-contributors specification. Contributions of any kind welcome!
FAQs
React PureComponent loading animations
The npm package react-pure-loaders receives a total of 802 weekly downloads. As such, react-pure-loaders popularity was classified as not popular.
We found that react-pure-loaders demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.