Socket
Socket
Sign inDemoInstall

react-loading-order-with-animation

Package Overview
Dependencies
44
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    react-loading-order-with-animation

React Loading Order With Animation


Version published
Weekly downloads
45
decreased by-22.41%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

React Loading Order With Animation

Animate components in order.

DEMO

Installation

npm install react-loading-order-with-animation

Usage

import LoadingOrderAnimation from 'react-loading-order-with-animation';

<LoadingOrderAnimation animation="fade-in"
                       move="from-bottom-to-top"
                       distance={30}
                       speed={1000}
                       wait={300}>
  <div>
    Children component
  </div>
</LoadingOrderAnimation>

Props

  • animation (String) - effect, values: fade-in, default: fade-in
  • move (String) - direction, values: from-top-to-bottom, from-bottom-to-top, from-left-to-right, from-right-to-left, default: none
  • distance (Number) - direction distance in px, default: 0
  • speed (Number) - animation speed in ms, default: 700
  • wait (Number) - wait before animation, after, default: 100
  • block (String) - css style, values: inline, block, default: block

Development

$ npm install

Run app

$ npm start

And open in browser: http://localhost:4000

Build

$ npm run build

Keywords

FAQs

Last updated on 29 Dec 2015

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc