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-native-animated-spinkit
Advanced tools
A pure JavaScript port of SpinKit for React Native.
A pure JavaScript port of SpinKit for React Native.
The previous port of SpinKit for React Native (react-native-spinkit) is a native module so it requires extra native dependencies and can't be used in Expo projects without ejecting.
This library is a pure JavaScript port of SpinKit implemented with the Animated API, which means you can use it in any React Native project and the spinners will look identical on Android and iOS.
yarn add react-native-animated-spinkit
or
npm install react-native-animated-spinkit
import { Plane } from 'react-native-animated-spinkit'
function App() {
return (
<View style={styles.container}>
<Plane size={48} color="#FFF">
</View>
)
}
Inherits View Props
number
| defaults to48
Width and height of the spinner.
string
| defaults to#000
Color of the spinner.
boolean
| defaults totrue
Whether to show the indicator or hide it.
boolean
| defaults totrue
Whether the indicator should hide when not animating.
All the spinners from SpinKit have been ported.
<Plane />
<Chase />
<Bounce />
<Wave />
<Pulse />
<Flow />
<Swing />
<Circle />
<CircleFade />
<Grid />
<Fold />
<Wander />
To run the example project, follow these steps:
yarn
cd example
yarn && yarn start
FAQs
A pure JavaScript port of SpinKit for React Native.
The npm package react-native-animated-spinkit receives a total of 4,291 weekly downloads. As such, react-native-animated-spinkit popularity was classified as popular.
We found that react-native-animated-spinkit 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.