Docs
Reorder Card by Swapy
Reorder Card by Swapy
Use swapy to reorder cards.
Section 1
This is section 1. You can move it around.
Section 2
This is section 2. You can move it around.
Section 3
This is section 3. You can move it around.
Installation
Install the following dependencies:
npm install swapy
Copy and paste the following code into your project.
This Card Component
Copy and paste the Reorder Card code into your project.
API Reference
Props
Prop | Type | Description |
---|---|---|
animation | string | support "dynamic" | "spring" | "none"; |
Usage
export default function Swapy() {
return <SwapyComponent animation="dynamic" />;
}