Docs
Rotation card

Rotation card

Displays a rotation card component.

CN

Installation

Install the following dependencies:

npm install framer-motion

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))
}
 

Copy and paste the following code into your project.

If you have already used our Avatar Component, Please skip this step

Otherwise you need copy the following code

Copy and paste the Rotation code into your project.