LightSpeed Animation
The LightSpeed animation introduces a swift and dynamic movement to elements, creating a dynamic and eye-catching effect.
Usage
To use the LightSpeed animation, import it from react-swift-reveal
:
App.jsx
import { LightSpeed } from 'react-swift-reveal';
const App = () => {
return (
<LightSpeed>
<div className="box">
This element will move with lightspeed as it enters the viewport.
</div>
</LightSpeed>
);
};
export default App;
Props
LightSpeed 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.