# Application File Manager: Storage Cleanup Panel

A storage cleanup panel with a reclaimable space summary, checkbox large files and duplicates sections, an old trash row, and a selection bar.

- Page: https://www.shadcn-ui-blocks.com/blocks/application-pro/file-manager/storage-cleanup-panel
- Collection: [Application](https://www.shadcn-ui-blocks.com/blocks/application-pro), Standard tier
- Group: [File Manager](https://www.shadcn-ui-blocks.com/blocks/application-pro/file-manager)
- Created: 2026-07-04
- Preview image: https://www.shadcn-ui-blocks.com/blocks/application-pro/file-manager/storage-cleanup-panel.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/application-pro-file-manager-storage-cleanup-panel
```

Needs an API key from a Pro or Team plan: add `@shadcn-ui-blocks` to the registries in components.json with the key as an `Authorization: Bearer` header. Setup: https://www.shadcn-ui-blocks.com/docs/shadcn-cli. The MCP server installs it without the setup: https://www.shadcn-ui-blocks.com/docs/mcp.

## Depends on

- npm packages: class-variance-authority, lucide-react, radix-ui
- shadcn/ui components: badge, button, checkbox
- Installs to: `@/components/blocks/application-pro/file-manager/storage-cleanup-panel`

## About this block

Storage Cleanup Panel is the cleanup review for a
workspace, headed by Free up space and a line noting
4.2 GB can be reclaimed across large files,
duplicates, and trash, with a Rescan button. A Large
files section lists four items with per-row
checkboxes, a type icon, folder path, and size,
totaling 3.9 GB in its header Badge. A Duplicate
files section pairs each copy with the original
location it kept, and an old trash row offers to
empty trash older than 30 days. A selection summary
bar shows 3 items selected, 2.8 GB total, beside a
Delete selected button.

Large files and duplicates are two typed arrays with
a selected flag setting the default checkbox state.
The duplicate rows name both the copy and the kept
original, so a user clears the redundant file with
confidence.

## When to use

Reach for this block on a storage settings page or a
quota warning, wired to your file scan job. Recompute
the selection total client side as checkboxes change,
and require confirmation before the destructive
delete.

A natural flow around it on an Application Pro page:

**Before**

- [Storage usage card](https://www.shadcn-ui-blocks.com/blocks/application-pro/file-manager)
- [Trash bin table](https://www.shadcn-ui-blocks.com/blocks/application-pro/file-manager)

**After**

- [Billing](https://www.shadcn-ui-blocks.com/blocks/application-pro/billing)

## What you can display

One strong use is the free up space review. Other
cleanup shapes:

- **Inbox cleanup.** Large attachments and old
  threads with a reclaimable size per group.
- **Cache and temp files.** Files the app can
  regenerate, grouped by category with a total.
- **Unused assets.** Files not opened in a year,
  surfaced with a last opened date per row.

> Tip: name the kept original on every duplicate,
> deleting a copy is only safe when the user can see
> what survives.

## More in Application File Manager

- [File Activity Feed](https://www.shadcn-ui-blocks.com/blocks/application-pro/file-manager/file-activity-feed)
- [File Browser Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/file-manager/file-browser-table)
- [File Conflict Resolver](https://www.shadcn-ui-blocks.com/blocks/application-pro/file-manager/file-conflict-resolver)
- [File Detail Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/file-manager/file-detail-panel)
- [File Grid Gallery](https://www.shadcn-ui-blocks.com/blocks/application-pro/file-manager/file-grid-gallery)
- [File Request Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/file-manager/file-request-panel)
- [File Search Results](https://www.shadcn-ui-blocks.com/blocks/application-pro/file-manager/file-search-results)
- [File Version History](https://www.shadcn-ui-blocks.com/blocks/application-pro/file-manager/file-version-history)
- [Folder Tree Nav](https://www.shadcn-ui-blocks.com/blocks/application-pro/file-manager/folder-tree-nav)
- [Recent Files List](https://www.shadcn-ui-blocks.com/blocks/application-pro/file-manager/recent-files-list)
- [Share Permissions Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/file-manager/share-permissions-panel)
- [Shared Links Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/file-manager/shared-links-table)
- [Shared With Me Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/file-manager/shared-with-me-table)
- [Storage Usage Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/file-manager/storage-usage-card)
- [Sync Status Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/file-manager/sync-status-panel)
- [Trash Bin Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/file-manager/trash-bin-table)
- [Upload Dropzone Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/file-manager/upload-dropzone-card)
