A collection of animated loading indicators React native port of SpinKit.
npm install react-native-spinkit@latest --save- In XCode, in the project navigator, right click
Libraries➜Add Files to [your project's name] - Go to
node_modules➜react-native-spinkitand addRNSpinkit.xcodeproj - In XCode, in the project navigator, select your project. Add
libRNSpinkit.ato your project'sBuild Phases➜Link Binary With Libraries - Click
RNSpinkit.xcodeprojin the project navigator and go theBuild Settingstab. Make sure 'All' is toggled on (instead of 'Basic'). Look forHeader Search Pathsand make sure it contains both$(SRCROOT)/../react-native/Reactand$(SRCROOT)/../../React- mark both asrecursive. - Run your project (
Cmd+R)
Check index.ios.js in the Example folder.
| Prop | Default | Type | Description |
|---|---|---|---|
| isVisible | true |
boolean |
Visibility of the spinner |
| color | #000000 | string |
Color of the spinner |
| size | 37 | number |
Size of the spinner |
| type | Plane | string |
Style type of the spinner |
- CircleFlip
- Bounce
- Wave
- WanderingCubes
- Pulse
- ChasingDots
- ThreeBounce
- Circle
- 9CubeGrid
- WordPress
- FadingCircle
- FadingCircleAlt
- Arc
- ArcAlt
Animations made possible with the awesome work of Ramon Torres SpinKit-ObjC
