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-component

Components install as source into your project. The interactive page also includes preview, code, documentation and install tabs.

Dependencies

  • clsx
  • motion
  • react
  • tailwind-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

  • clsx
  • motion
  • react
  • tailwind-merge

Usage

"use client";

import FolderComponent from "@/components/craft/folder-component";

export function Example() {
  return (
    <div className="p-6">
      <FolderComponent />
    </div>
  );
}

Browse this category