Skip to Content
BlocksWork and collaboration

Files

File uploads with progress, cancel and retry, a CSV import that matches columns to fields and fixes bad cells, a file table, storage by kind with the largest files, and a folder browser.

File blocks upload, import, list and browse files, with any storage behind them.

Upload

A dropzone with the accepted types and size limit, and each upload's progress, which you can cancel, retry or remove.

npx shadcn add @dashboardblocks/files-01

Fall launch files

Briefs, artwork and contracts for the Fall launch campaign.

2 of 3 files uploaded, 1 failed

  • fall-launch-brief.pdf

    2.4 MB  Uploaded

  • hero-banner@2x.png

    6.8 MB  Uploaded

  • launch-film-raw-footage.zip

    Larger than 25 MB

CSV Import, Pro

A customer list of 1,248 rows: its columns matched to fields, the cells that would fail outlined with a fix to apply, and the rows that update existing customers counted before anything imports.

Pro

Import customers

Upload a CSV file with a row for each of your customers. Its first row names the columns.

Columns it looks for: Company name (required), Billing email (required), Plan, MRR, Country, Customer since, and Account owner.

File Table

Files with their type, owner, last change and size, to search, filter, sort, download or delete.

npx shadcn add @dashboardblocks/files-02

Marketing drive

10 files from 5 people, 555 MB in all, newest first.

Marketing drive: 10 files from 5 people, 555 MB in all, newest first.
Actions
Q3 board deck.pptxPresentationPriya Nair18.4 MB
Fall launch brief.pdfPDFMateo Silva2.4 MB
Campaign budget FY27.xlsxSpreadsheetHannah Okafor486 KB
hero-banner@2x.pngImageLena Fischer6.8 MB
Brand guidelines v4.pdfPDFPriya Nair12.1 MB
Launch teaser 30s.mp4VideoLena Fischer142 MB
Press release draft.docxDocumentMateo Silva92 KB
Podcast ep 12 master.wavAudioJonas Berg318 MB
Customer logos.zipArchiveHannah Okafor54.6 MB
utm-builder.jsonCodeJonas Berg6 KB

Storage

Storage used against the plan, split by kind of file, with the largest files and how much deleting them would free.

npx shadcn add @dashboardblocks/files-03

Storage

Videos use the most space, and 17.4 GB of the Team plan is free.

Nearing limit
82.6 GBof 100 GB
  • Videos38.2 GB38%
  • Images21.7 GB22%
  • Documents11.4 GB11%
  • Archives7.9 GB8%
  • Other3.4 GB3%

Largest files

Deleting these 4 files would free 12.9 GB.

Folder Browser

Folders as tiles over a list of files with their size and last change, and a path back to the top.

npx shadcn add @dashboardblocks/files-04

3 folders · 5 files · 342 MB

On this page