You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

react-native-loader-kit

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-loader-kit

🎯 Beautiful native loading indicators for React Native with 30+ animations, TypeScript support, and speed control

3.0.0
latest
Source
npm
Version published
Maintainers
1
Created
Source

React Native Loader Kit

Table of Contents

Installation

With npm:

# new arch
npm install react-native-loader-kit

# old arch
npm install react-native-loader-kit@^2.0.0

With yarn:

# new arch
yarn add react-native-loader-kit

# old arch
yarn add react-native-loader-kit@^2.0.0

For iOS (React Native CLI project)

Run the following command to setup for iOS:

cd ios && pod install

# or
npx pod-install ios

For Expo project

You need to run prebuild in order for native code takes effect:

npx expo prebuild

Then you need to restart your project to make changes take effect

Usage

// v3
import {
  LoaderKitView,
} from 'react-native-loader-kit';

// v2
import LoaderKitView from 'react-native-loader-kit'

<LoaderKitView
  style={{ width: 50, height: 50 }}
  name={'BallPulse'}
  animationSpeedMultiplier={1.0} // speed up/slow down animation, default: 1.0, larger is faster
  color={'red'} // Optional: color can be: 'red', 'green',... or '#ddd', '#ffffff',...
/>

animationSpeedMultiplier is only supported from v3

List animations

Common:

  • BallPulse
  • BallGridPulse
  • BallClipRotate
  • SquareSpin
  • BallClipRotatePulse
  • BallClipRotateMultiple
  • BallPulseRise
  • BallRotate
  • CubeTransition
  • BallZigZag
  • BallZigZagDeflect
  • BallTrianglePath
  • BallScale
  • LineScale
  • LineScaleParty
  • BallScaleMultiple
  • BallPulseSync
  • BallBeat
  • LineScalePulseOut
  • LineScalePulseOutRapid
  • BallScaleRipple
  • BallScaleRippleMultiple
  • BallSpinFadeLoader
  • LineSpinFadeLoader
  • TriangleSkewSpin
  • Pacman
  • BallGridBeat
  • SemiCircleSpin
  • Orbit
  • AudioEqualizer
  • BallDoubleBounce

iOS only:

  • BallRotateChase
  • CircleStrokeSpin

Troubleshooting

uses-sdk:minSdkVersion XX cannot be smaller than version YY

You can override sdk version to use any version in your android/build.gradle > buildscript > ext

buildscript {
    ext {
        LoaderKit_kotlinVersion=2.0.21
        LoaderKit_minSdkVersion=24
        LoaderKit_targetSdkVersion=34
        LoaderKit_compileSdkVersion=35
        LoaderKit_ndkVersion=27.1.12297006
    }
}

Demo

A fully working demo is located at example folder

Thanks

Big thanks to 81813780 and ninjaprox for their great works

Keywords

react-native

FAQs

Package last updated on 28 Jun 2025

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