Animations
simple
Spin Animation

Spin Animation

The Spin animation creates a continuous rotation effect around the element's center.

Demo

This element will spin as it enters the viewport.

Usage

To use the Spin animation, import it from react-swift-reveal:

App.jsx
import { Spin } from 'react-swift-reveal';
 
const App = () => {
  return (
    <Spin>
      <div className="box">
        This element will spin as it enters the viewport.
      </div>
    </Spin>
  );
};

Props

Spin 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.