Back to blocks
BlockData & TablesFree

File Manager Block React component

A file manager with breadcrumb folders, a grid and list view, a storage bar split by file type, drag and drop uploads with progress, inline rename and delete with undo.

About the File Manager Block component

File Manager Block is a small cloud drive in one card. Folders open with a click and the breadcrumb at the top takes you back up, while a toggle switches between big tiles and a sortable list with dates and sizes.

A storage bar shows how much of the quota is used and splits it into video, images, documents and other files. Drag files onto the card to upload them into the open folder with a live progress bar, rename anything inline, and delete with a six second Undo in case it was a mistake.

When to use it

Use it for a document area in a SaaS app, a client portal, an asset library or an admin page for user uploads.

Pass onUpload to send files to your storage; leave it out for demos and the uploads are simulated.

Installation

Add the File Manager Block component to your project with the shadcn CLI. It lands in components/file-manager.tsx as plain React + Tailwind CSS source you own and can edit.

Install
Copied!
npx shadcn@latest add @reactframe/file-manager

Or copy the source by hand and install its dependencies:

Install
Copied!
npm install motion clsx tailwind-merge

Related components

Audit Log Table Block
Free
Invoice List Block
Free
Leaderboard Block
Free
Transactions Table Block
Free
KPI Dashboard Grid
Free
Activity Feed
Free