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

animate-components

Package Overview
Dependencies
Maintainers
1
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

animate-components

Animation components for React

  • 0.2.6
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6
decreased by-78.57%
Maintainers
1
Weekly downloads
 
Created
Source

animate-components

Elemental components for animation in React

Tested on Chrome, Safari and Firefox.

Install

npm install animate-components --save

Usage

import React, { Component } from "react";

import { Swing } from "animate-components";

class App extends Component {
  render() {
    return (
      <div>
        <Swing>
          <h1>Hello</h1>
        </Swing>
      </div>
    );
  }
}

Animations

Below is a list of all available animations.

Bounce

  • Bounce
  • BounceUp
  • BounceRight
  • BounceLeft
  • BounceDown

Fade

  • FadeIn
  • FadeInUp
  • FadeInRight
  • FadeInLeft
  • FadeInDown
  • FadeInUpBig
  • FadeInLeftBig
  • FadeInRightBig

Flip

  • Flip
  • FlipX
  • FlipY

LightSpeed

  • LightOut
  • LightIn

Rotate

  • RotateIn
  • RotateRight
  • RotateLeft
  • RotateUpRight
  • RotateUpLeft

Slide

  • SlideUp
  • SlideDown
  • SlideLeft
  • SlideRight
  • SlideExpandUp

Special

  • Flash
  • RollOut
  • RollIn
  • Rubber
  • Swing
  • Zoom
  • Hinge
  • Pulse
  • ExpandUp
  • Entrance
  • Hatch

API

Props

duration Type: string Default: 1s

timingFunction Type: string Default: ease

delay Type: string Default: 0s

direction Type: string Default: normal

iterations Type: string Default: 1

backfaceVisibility Type: string Default: visible

Example

<BounceUp duration="2s" timingFunction="ease-in" iterations="3">
  <h1>Hello World</h1>
</BounceUp>

Contributing

Here is the guide.

More animations coming soon 😃 !!

Keywords

FAQs

Package last updated on 28 Mar 2017

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