React Native Loader Kit
If you like this project, encourage me by giving a ⭐️. Happy hacking
Table of Contents
- Installation
- Usage
- List animations
- Demo
Installation
With npm:
$ npm install react-native-loader-kit --save
With yarn:
$ yarn add react-native-loader-kit
Run the following command to setup for iOS:
cd ios && pod install
Usage
import LoaderKit from 'react-native-loader-kit'
<LoaderKit
style={{ width: 50, height: 50 }}
name={'BallPulse'}
size={50}
color={'red'}
/>
Note: size is required for iOS and should equal to width
and height
List animations
As shown in the demo above, animations are as follows:
Default animations (both Android and iOS)
'1': 'BallPulse',
'2': 'BallGridPulse',
'3': 'BallClipRotate',
'4': 'SquareSpin',
'5': 'BallClipRotatePulse',
'6': 'BallClipRotateMultiple',
'7': 'BallPulseRise',
'8': 'BallRotate',
'9': 'CubeTransition',
'10': 'BallZigZag',
'11': 'BallZigZagDeflect',
'12': 'BallTrianglePath',
'13': 'BallScale',
'14': 'LineScale',
'15': 'LineScaleParty',
'16': 'BallScaleMultiple',
'17': 'BallPulseSync',
'18': 'BallBeat',
'19': 'LineScalePulseOut',
'20': 'LineScalePulseOutRapid',
'21': 'BallScaleRipple',
'22': 'BallScaleRippleMultiple',
'23': 'BallSpinFadeLoader',
'24': 'LineSpinFadeLoader',
'25': 'TriangleSkewSpin',
'26': 'Pacman',
'27': 'BallGridBeat',
'28': 'SemiCircleSpin'
'29': 'BallRotateChase',
'30': 'Orbit',
'31': 'AudioEqualizer',
'32': 'CircleStrokeSpin',
'33': 'BallDoubleBounce'
Demo
A fully working demo is located at example folder
Thanks
Big thanks to 81813780 and ninjaprox for their great works