Wobble Animation
The Wobble animation creates a wobbly effect by combining horizontal movement with rotation.
Demo
This element will wobble as it enters the viewport.
Usage
To use the Wobble animation, import it from react-swift-reveal
:
App.jsx
import { Wobble } from 'react-swift-reveal';
const App = () => {
return (
<Wobble>
<div className="box">
This element will wobble as it enters the viewport.
</div>
</Wobble>
);
};
Props
Wobble animation doesn't have any specific props of its own. it has all the props of Swift Reveal Props.
You can refer to the Swift Reveal Props documentation for a list of all available props.