Animated 3D Folder

Pro

A real CSS 3D folder that tilts toward your cursor, drops its cover open, and lifts its files into a stepped index.

css 3d3dcssfolderarchivehoverdepthtiltparallax
Animated 3D Folder component preview

Overview

Animated 3D Folder is a React and Tailwind CSS folder animation built in true CSS 3D, in Next.js or any React app, with a stitched cover and debossed label. It leans toward the mouse, the cover swings down on a bottom hinge with light aware shading, and three files rise into a stepped index. It is a real button with an expanded state, opening with Enter or Space and closing with Escape, and reduced motion opens it instantly. Tone, size, and label are props, and open can be controlled. Tilt follows a mouse only, so touch shows it straight on.

Installation

Run the following command

~/your-project
pnpm dlx wensity@latest add lifted-archive-folder

Usage

Import LiftedArchiveFolder from @/components/wensity/lifted-archive-folder and render it anywhere in your React or Next.js app. The source lands in your own repo, so every prop, class and animation below is yours to edit.

app/example.tsx
import { LiftedArchiveFolder } from "@/components/wensity/lifted-archive-folder";
export default function Example() {
return <LiftedArchiveFolder tone="kraft" size="md" label="Q3 Reports" />;
}

Props

PropTypeDefaultDescription
tone"kraft" | "graphite" | "cobalt""kraft"Folder stock color palette.
size"sm" | "md" | "lg""md"Visual scale relative to the 320×260 artboard.
labelstring"Archive"Name debossed into the stitched cover.
tiltbooleantrueTilts the folder toward the mouse pointer.
defaultOpenbooleanfalseStarts the folder open (uncontrolled).
openboolean-Controlled open state.
onOpenChange(open: boolean) => void-Fires when open state changes.

Featured in React 3D components.