Docs
Reorder Card by Swapy

Reorder Card by Swapy

Use swapy to reorder cards.

Loading...

Installation

Install the following dependencies:

npm install swapy

Install the shadcn/ui dependencies:

You need to install shadcn components, like this:

npx shadcn@latest add card

Copy and paste the Reorder Card code into your project.

API Reference

Props

PropTypeDescription
animationstringsupport "dynamic" | "spring" | "none";

Usage

export default function Swapy() {
  return <SwapyComponent animation="dynamic" />;
}