Socket
Socket
Sign inDemoInstall

anima-react

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

anima-react

### A collection of React components for flexible animations


Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

anima-react

A collection of React components for flexible animations

Basic usage
import { FadeIn, getIncrementor } from 'anima-react';

// returns an incremented number on every call
const getDelay = getIncrementor(0, 0.15);

// Wrap your component and add an optional delay
<FadeIn orientation="up" delay={getDelay()}>
  <YourReactComponent />
</FadeIn>;
Components
  • FadeIn
    • Props:
      • delay = number
      • orientation = 'left' | 'right' | 'up' | 'down'
Develop

yarn install

yarn start

Keywords

FAQs

Package last updated on 10 Mar 2022

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