Docs
Reorder card by Motion

Reorder card by Motion

Displays a reorder card component.

  • 🍅 Tomato

  • 🥒 Cucumber

  • 🧀 Cheese

  • 🥬 Lettuce

Installation

Copy and paste the cn util code into your project.

import { ClassValue, clsx } from "clsx"
import { twMerge } from "tailwind-merge"
export function cn(...inputs: ClassValue[]) {
  return twMerge(clsx(inputs))
}

Install the following dependencies:

npm install framer-motion

Install the shadcn/ui dependencies:

You need to install shadcn components, like this:

npx shadcn@latest add card

Copy and paste the Reorder code into your project.