Gathering detailed insights and metrics for react-animation-wrapper
Gathering detailed insights and metrics for react-animation-wrapper
Gathering detailed insights and metrics for react-animation-wrapper
Gathering detailed insights and metrics for react-animation-wrapper
npm install react-animation-wrapper
Typescript
Module System
Node Version
NPM Version
71
Supply Chain
91.6
Quality
75.5
Maintenance
100
Vulnerability
100
License
JavaScript (100%)
Total Downloads
3,280
Last Day
1
Last Week
3
Last Month
74
Last Year
705
MIT License
11 Stars
39 Commits
1 Forks
2 Watchers
2 Branches
2 Contributors
Updated on Nov 25, 2018
Minified
Minified + Gzipped
Latest Version
0.2.0
Package Id
react-animation-wrapper@0.2.0
Unpacked Size
168.07 kB
Size
46.38 kB
File Count
27
NPM Version
5.6.0
Node Version
8.6.0
Cumulative downloads
Total Downloads
Last Day
-80%
1
Compared to previous day
Last Week
-81.3%
3
Compared to previous week
Last Month
8.8%
74
Compared to previous month
Last Year
99.2%
705
Compared to previous year
18
A declarative set of react components wrapper to bring in animation, like animate.css.
Check the demo page here
Compared to animate.css, react-animation-wrapper has many uncomparable advantages:
1npm install --save react-animation-wrapper
Write a custom, normal react component:
1const Header = () => <h1 style={{ textAlign: 'center' }}>Hello World</h1>
Wrap it up with the name of the animation wrapper: (Check out all the available ones in the demo page!)
1import { BounceIn } from 'react-animation-wrapper' 2ReactDOM.render( 3 <BounceIn> 4 <Header /> 5 </BounceIn>, 6 document.querySelector('.root') 7)
You are all set!
Animations available:
WrapperName | ||
---|---|---|
Bounce | Flash | Pulse |
Shake | RubberBand | Swing |
Jello | Wobble | FadeIn |
Tada | Bounce | Flip |
ZoomIn | ZoomOut | JackInTheBox |
RotateIn | RollIn |
Check the demo page here to see what they look like.
v0.1.0
add 17 animations presets
v0.2.0
expose createAnimationWrapper
for customzied animation and could configure the animation properties (delay
, iterationCount
, delay
) via passing props into the animation wrapper component
The most possible reason is that you didn't specify the size and alignment of the container box of the content. This leads to the issue where your CONTAINER BOX is being animated, rather than its content. Make sure your content size is the same as its container.
Due to different OS, browser and animations that transform its shape during the animation, it's likely that it goes beyond its container box, which then shows up a scroll bar. A quick fix: add overflow: hidden
in the container box of the wrapper component.
This project is in a sense very beginner-friendly project for those who want to get some fun of open source. It's well modularized, and the logic of each components is quite easy and similar to each other.
See the issues with the good first issue
tag and I welcome all kinds of support and can provide some guide.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 1/28 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
88 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-05-05
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More