Folder Component
Folder Component: An animated folder whose cards fan out on hover and lift open on click, with a 3D-tilted flap. Supports color and size (sm/md/lg) props. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.
Install Folder Component
npx motion-ui-skill add folder-componentComponents install as source into your project. The interactive page also includes preview, code, documentation and install tabs.
Dependencies
clsxmotionreacttailwind-merge
Source files
Folder Component
An animated folder whose cards fan out on hover and lift open on click, with a 3D-tilted flap. Supports color and size (sm/md/lg) props.
Install
npx motion-ui-skill add folder-component
Dependencies
clsxmotionreacttailwind-merge
Usage
"use client";
import FolderComponent from "@/components/craft/folder-component";
export function Example() {
return (
<div className="p-6">
<FolderComponent />
</div>
);
}