New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-native-spinkit

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-spinkit

A collection of animated loading indicators for React Native

  • 0.0.6
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
9.6K
increased by11.87%
Maintainers
1
Weekly downloads
 
Created
Source

react-native-spinkit

A collection of animated loading indicators React native port of SpinKit.

Preview

Getting started

npm install react-native-spinkit@latest --save

IOS

On IOS the spinners have been developped in Objective-C, therefore you have to include the Library:

  1. In XCode, in the project navigator, right click LibrariesAdd Files to [your project's name]
  2. Go to node_modulesreact-native-spinkit and add RNSpinkit.xcodeproj
  3. In XCode, in the project navigator, select your project. Add libRNSpinkit.a to your project's Build PhasesLink Binary With Libraries
  4. Click RNSpinkit.xcodeproj in the project navigator and go the Build Settings tab. Make sure 'All' is toggled on (instead of 'Basic'). Look for Header Search Paths and make sure it contains both $(SRCROOT)/../react-native/React and $(SRCROOT)/../../React - mark both as recursive.
Android

You're ready to go, android use the spinners developped in JS

Example

Check index.ios.js in the Example folder.

Properties

PropDefaultTypeDescription
isVisibletruebooleanVisibility of the spinner
color#000000stringColor of the spinner
size37numberSize of the spinner
typePlanestringStyle type of the spinner

List of available types

IOS
  • CircleFlip
  • Bounce
  • Wave
  • WanderingCubes
  • Pulse
  • ChasingDots
  • ThreeBounce
  • Circle
  • 9CubeGrid
  • WordPress
  • FadingCircle
  • FadingCircleAlt
  • Arc
  • ArcAlt
Android
  • ThreeBounce
  • More to come...
    Contributors welcomed, submit a PR to add a missing spinner :)

Acknowledgements

IOS spinners made possible with the awesome work of Ramon Torres SpinKit-ObjC

Keywords

FAQs

Package last updated on 03 Feb 2016

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