Slide Animation
The Slide animation creates a smooth sliding entrance effect, making elements appear to slide in from the side.
Demo
This element will slide in as it enters the viewport.
Usage
To use the Slide animation, import it from react-swift-reveal
:
App.jsx
import { Slide } from 'react-swift-reveal';
const App = () => {
return (
<Slide>
<div className="box">
This element will slide in as it enters the viewport.
</div>
</Slide>
);
};
Props
Slide 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.