Back to components
ComponentCardFree

Document Folder Stack React component

A tabbed folder that opens when you point at it: the front flap hinges forward in 3D and the documents inside rise and fan out one after another, each with a file-type tag, title and meta line; click a document to lift it to the front.

About the Document Folder Stack component

Document Folder Stack turns a file category into an object you want to open. Point at the folder and its front flap tips forward while the documents inside rise and fan out one after another, each tagged with its file type, a title and a detail line.

Click a document to lift it to the front. The folder opens on hover, with the keyboard, or with a tap on phones, and the documents only join the tab order once they're visible.

When to use it

Use it for file and resource sections, client portals, a 'downloads' area, case-study archives or any dashboard tile that groups documents by type.

For long file lists, show a few highlights in the folder and link to the full list; the folder shows up to four documents.

Installation

Add the Document Folder Stack component to your project with the shadcn CLI. It lands in components/document-folder-stack.tsx as plain React + Tailwind CSS source you own and can edit.

Install
Copied!
npx shadcn@latest add @reactframe/document-folder-stack

Or copy the source by hand and install its dependencies:

Install
Copied!
npm install clsx tailwind-merge

Related components

Color Reveal Grid
Free
Frosted App Icons
Free
Project Status Tile
Free
Swinging ID Badge
Free
Bouncing Card Fan
Free
Infinite Marquee
Free