BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/blocks/file-upload-03

File Upload Multi-File Dropzone

blocks/file-upload-03
FreeBlock

A file upload multi-file dropzone block.

Install it

npx shadcn@latest add https://blocks.so/r/file-upload-03.json

Source

content/components/file-upload/file-upload-03.tsxblocks.so/r/file-upload-03.json · first 6 KB
1'use client';
2
3import { File, Trash } from 'lucide-react';
4import React from 'react';
5import { useDropzone } from 'react-dropzone';
6
7import { Button } from '@/components/ui/button';
8import {
9 Card,
10 CardContent,
11 CardDescription,
12 CardHeader,
13 CardTitle,
14} from '@/components/ui/card';
15import { Input } from '@/components/ui/input';
16import { Label } from '@/components/ui/label';
17import {
18 Select,
19 SelectContent,
20 SelectItem,
21 SelectTrigger,
22 SelectValue,
23} from '@/components/ui/select';
24import { Separator } from '@/components/ui/separator';
25import { cn } from '@/lib/utils';
26
27export default function FileUpload03() {
28 const [files, setFiles] = React.useState<File[]>([]);
29 const { getRootProps, getInputProps, isDragActive } = useDropzone({
30 onDrop: (acceptedFiles) => setFiles(acceptedFiles),
31 });
32
33 const filesList = files.map((file) => (
34 <li className="relative" key={file.name}>
35 <Card className="relative p-4 shadow-none">
36 <div className="-translate-y-1/2 absolute top-1/2 right-4">
37 <Button
38 aria-label="Remove file"
39 onClick={() =>
40 setFiles((prevFiles) =>
41 prevFiles.filter((prevFile) => prevFile.name !== file.name)
42 )
43 }
44 size="icon"
45 type="button"
46 variant="ghost"
47 >
48 <Trash aria-hidden={true} className="h-5 w-5" />
49 </Button>
50 </div>
51 <CardContent className="flex items-center space-x-3 p-0">
52 <span className="flex h-10 w-10 shrink-0 items-center justify-center rounded-md bg-muted">
53 <File aria-hidden={true} className="h-5 w-5 text-foreground" />
54 </span>
55 <div>
56 <p className="text-pretty font-medium text-foreground">
57 {file.name}
58 </p>
59 <p className="mt-0.5 text-pretty text-muted-foreground text-sm">
60 {file.size} bytes
61 </p>
62 </div>
63 </CardContent>
64 </Card>
65 </li>
66 ));
67
68 return (
69 <div className="flex items-center justify-center p-10">
70 <Card className="shadow-none sm:mx-auto sm:max-w-xl">
71 <CardHeader>
72 <CardTitle>Set up your first cloud storage</CardTitle>
73 <CardDescription>
74 Lorem ipsum dolor sit amet, consetetur sadipscing elitr.
75 </CardDescription>
76 </CardHeader>
77 <CardContent>
78 <form action="#" method="post">
79// … truncated

What it pulls in

npm packages

  • lucide-react
  • react-dropzone

Other registry items

  • button
  • card
  • input
  • label
  • select
  • separator

Files it writes

  • content/components/file-upload/file-upload-03.tsx

Facts

Registry
blocks
Type
registry:block
Access
Free
Files written
1
Licence
the repository states none
In the index
at or before 2026-08-21
Last confirmed
today

Go to the source

blocks.so ephraimduncan/blocks on GitHub Raw registry item This item as JSON

More from blocks

All 76 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
AI Chat with Voice Inputai-01blocksBlocksFree1 dep
AI Chat with Model Selectionai-02blocksBlocksFree1 dep
AI Chat Compact Interfaceai-03blocksBlocksFree1 dep
AI Chat with File Attachmentsai-04blocksBlocksFree1 dep
AI Elements Chatai-05blocksBlocksFree2 deps
Command Menu with Groupscommand-menu-01blocksBlocksFree1 dep
Command Menu with Keyboard Shortcutscommand-menu-02blocksBlocksFree1 dep
Command Menu with Documentation Searchcommand-menu-03blocksBlocksFree1 dep

Also from Kynth Studios

Built for the same person as BlockDex

SkillWorks

Claude Code skills and plugins, scored

skillworks.kynth.studio

RuleStack

AGENTS.md gallery and agent-config comparison

rulestack.kynth.studio

KitGrade

SaaS starter kits, scored on what can be checked

kitgrade.kynth.studio

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and KitGrade

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and KitGrade

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and KitGrade

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex