Founding price: $35, then $79.99 after 23:59 UTC on 4 November, then $79.99
Get ProDrop a whole folder or pick one: it walks the directory tree, keeps each file's relative path, skips junk such as .DS_Store and node_modules, enforces a file limit and summarises what was found.
This item has no props to tune. Use the lens above to change theme, density, direction and more.
Send path to your server (for example as a form field next to the file) to rebuild the folder structure there.
| Export | Description |
|---|---|
FolderDropzone | The drop target, the Choose folder button and the summary. |
readEntries(entries, options) | Walk webkitGetAsEntry() entries from a drop. |
fromInputFiles(files, options) | Convert the files of an <input webkitdirectory>. |
| Prop | Type | Description |
|---|---|---|
onFolder | (result: FolderResult) => void | { files: { file, path }[], truncated, skipped }. |
ignore | string[] | Names to skip at any depth. Default .DS_Store, Thumbs.db, node_modules, .git. |
maxFiles | number | Stop reading after this many. |
maxFiles cut the walk short and the count of skipped files.The component ships with a Testing Library test (folder-dropzone.test.tsx) that covers: its main behaviour, the keyboard path and the error or empty states.