Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-native-loader-kit

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-loader-kit

✳️Purely native loader indicators for React Native✳️

  • 1.0.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.4K
decreased by-15.05%
Maintainers
1
Weekly downloads
 
Created
Source

React Native Loader Kit

Table of Contents

  1. Installation
  2. Usage
  3. List animations
  4. Demo

Installation

With npm: $ npm install react-native-loader-kit --save

With yarn: $ yarn add react-native-loader-kit

Extra setup step for iOS

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'} // Optional: see list of animations below
  size={50} // Required on iOS
  color={'red'} // Optional: color can be: 'red', 'green',... or '#ddd', '#ffffff',...
/>

Note: size is required for iOS

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'

iOS extra animations

  '1': 'BallRotateChase',
  '2': 'Orbit',
  '3': 'AudioEqualizer',
  '4': 'CircleStrokeSpin',
  '5': 'BallDoubleBounce'

Demo

A fully working demo is located at example folder

Thanks

Big thanks to 81813780 and ninjaprox for their wonderful works

If you like this project, encourage me by giving me a ⭐️. Happy hacking

Keywords

FAQs

Package last updated on 06 May 2020

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc