
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
react-animation-wrapper
Advanced tools
A set of react components wrapper to add animation, like animate.css
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:
npm install --save react-animation-wrapper
Write a custom, normal react component:
const 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!)
import { BounceIn } from 'react-animation-wrapper'
ReactDOM.render(
<BounceIn>
<Header />
</BounceIn>,
document.querySelector('.root')
)
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.0add 17 animations presets
v0.2.0expose 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.
FAQs
A set of react components wrapper to add animation, like animate.css
We found that react-animation-wrapper demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.