React file upload libraries

Updated Nov 2026

React file upload libraries let users pick or drop files and send them to a server or storage service. A selection library hands the chosen files to the application rather than uploading them itself. These libraries let apps accept documents, images, and media from users.

Popularity

react-dropzone has the most monthly downloads in this comparison, at 75.9M.

LibraryMonthly downloadsStarsLast releaseLicense
react-dropzone
75.9M
11.0KNov 2026MIT
@rc-component/upload
7.3M
804Sep 2026MIT
@uppy/react
4.2M
31.1KNov 2026MIT
Mantine Dropzone
3.3M
32.0KNov 2026MIT
use-file-picker
1.1M
303May 2025MIT
React FilePond
878.9K
2.0KDec 2024MIT
@uploadthing/react
688.4K
5.4KAug 2025MIT
react-drag-drop-files
557.8K
270Jul 2025MIT
Downloads: npm, last thirty days. Stars and releases: GitHub. Amber: no release in over a year.

Features compared

LibraryHTTP uploadsFile size limitsImage thumbnails
react-dropzoneUnsupportedBuilt-inUnsupported
@rc-component/uploadBuilt-inUnsupportedUnsupported
@uppy/reactVia pluginBuilt-inBuilt-in
Mantine DropzoneUnsupportedBuilt-inUnsupported
use-file-pickerUnsupportedBuilt-inUnsupported
React FilePondBuilt-inVia pluginVia plugin
@uploadthing/reactBuilt-inBuilt-inUndocumented
react-drag-drop-filesUnsupportedBuilt-inUnsupported
Built-inVia pluginNot supportedNot documented

Libraries and code examples

react-dropzone

Provides React hooks for file selection through drag-and-drop.

Downloads / mo
75.9M
Stars
11.0K
Last release
20.2.1
License
MIT

Strengths

  • Customizes file-selection UI. Use property getters to connect a custom drop area and input.
  • Accepts pasted files. Pasted files follow the same validation and callbacks as dropped files.

Limitations

  • Needs a separate uploader. Connect a separate upload transport after selecting files.
  • Dropped files omit absolute paths. Returned files omit path and fullPath properties.

Quickstart

From README.md
$ npm install react-dropzone@20.2.1 react@19.2.0 react-dom@19.2.0
import React from "react";
import { createRoot } from "react-dom/client";
import { useDropzone } from "react-dropzone";
function Picker() { const { getRootProps, getInputProps } = useDropzone({ onDrop: (files) => console.log(files) }); return <div {...getRootProps()}><input {...getInputProps()} />Drop or choose files</div>; }
const host = document.createElement("div"); document.body.append(host);
createRoot(host).render(<Picker />);

react-dropzone examples

From open-source projects on GitHub

@rc-component/upload

Provides an upload UI component for React.

Downloads / mo
7.3M
Stars
804
Last release
1.2.0
License
MIT

Quickstart

From README.md
$ npm install @rc-component/upload@1.2.0 react@19.2.0 react-dom@19.2.0
import React from "react";
import { createRoot } from "react-dom/client";
import Upload from "@rc-component/upload";
const host = document.createElement("div"); document.body.append(host);
createRoot(host).render(<Upload action="/upload" onSuccess={(body) => console.log(body)}><button type="button">Choose and upload</button></Upload>);

@rc-component/upload examples

From open-source projects on GitHub

@uppy/react

Provides React components and hooks for Uppy upload interfaces.

Downloads / mo
4.2M
Stars
31.1K
Last release
6.1.1
License
MIT

Strengths

  • Supports custom upload interfaces. Choose headless components or hooks when the Dashboard layout is too restrictive.
  • Adds resumable upload transport. Use the Tus plugin with a compatible tus server.

Limitations

  • Unmounting can stop uploads. Keep Uppy alive when transfers must continue between page changes.
  • Headless components need context. Wrap the components in UppyContextProvider.

Quickstart

From uppy-transloadit.mdx
$ npm install @uppy/react@6.1.1 @uppy/core@^6.3.1 @uppy/dashboard@^6.0.3 react@19.2.0 react-dom@19.2.0
import React from "react";
import { createRoot } from "react-dom/client";
import Uppy from "@uppy/core";
import Dashboard from "@uppy/react/dashboard";
import "@uppy/core/css/style.min.css";
import "@uppy/dashboard/css/style.min.css";
const uppy = new Uppy();
const host = document.createElement("div"); document.body.append(host);
createRoot(host).render(<Dashboard uppy={uppy} hideUploadButton />);

Mantine Dropzone

Provides a dropzone component built with Mantine theme and components.

Downloads / mo
3.3M
Stars
32.0K
Last release
9.8.1
License
MIT

Quickstart

From README.md
$ npm install @mantine/dropzone@9.8.1 @mantine/core@9.8.1 @mantine/hooks@9.8.1 react@19.2.0 react-dom@19.2.0
import React from "react";
import { createRoot } from "react-dom/client";
import { MantineProvider } from "@mantine/core";
import { Dropzone } from "@mantine/dropzone";
import "@mantine/core/styles.css";
import "@mantine/dropzone/styles.css";
const host = document.createElement("div"); document.body.append(host);
createRoot(host).render(<MantineProvider><Dropzone maxSize={5 * 1024 * 1024} onDrop={(files) => console.log(files)}>Drop or choose files</Dropzone></MantineProvider>);

Mantine Dropzone examples

From open-source projects on GitHub

use-file-picker

Opens the browser file selector from a React hook.

Downloads / mo
1.1M
Stars
303
Last release
2.1.4
License
MIT

Quickstart

From README.md
$ npm install use-file-picker@2.1.4 react@19.2.0 react-dom@19.2.0
import React from "react";
import { createRoot } from "react-dom/client";
import { useFilePicker } from "use-file-picker";
function Picker() { const { openFilePicker } = useFilePicker({ accept: ".txt", multiple: false, onFilesSelected: ({ plainFiles }) => console.log(plainFiles) }); return <button onClick={() => openFilePicker()}>Choose a text file</button>; }
const host = document.createElement("div"); document.body.append(host);
createRoot(host).render(<Picker />);

use-file-picker examples

From open-source projects on GitHub

React FilePond

Adapts FilePond as a React component.

Downloads / mo
878.9K
Stars
2.0K
Last release
7.1.3
License
MIT

Quickstart

From README.md
$ npm install react-filepond@7.1.3 filepond@4 react@19.2.0 react-dom@19.2.0
import React from "react";
import { createRoot } from "react-dom/client";
import { FilePond } from "react-filepond";
import "filepond/dist/filepond.min.css";
const host = document.createElement("div"); document.body.append(host);
createRoot(host).render(<FilePond server="/upload" />);

React FilePond examples

From open-source projects on GitHub

@uploadthing/react

Provides React upload components and typed upload hooks for UploadThing.

Downloads / mo
688.4K
Stars
5.4K
Last release
7.3.3
License
MIT

Strengths

  • Connects uploads to typed routes. Generate components and helpers from the server file-router type.
  • Reports upload progress. Use onUploadProgress to update the application during transfers.

Limitations

  • Needs server file routes. Configure route permissions and completion handling on the server.

Quickstart

From page.tsx
$ npm install @uploadthing/react@7.3.3 uploadthing@^7.2.0 next@16 react@19.2.0 react-dom@19.2.0
"use client";
import { generateReactHelpers } from "@uploadthing/react";
const { useUploadThing } = generateReactHelpers();
export default function App() {
  const { startUpload, isUploading } = useUploadThing("imageUploader");
  return <input type="file" accept="image/*" disabled={isUploading} onChange={(event) => { const files = Array.from(event.target.files ?? []); if (files.length) startUpload(files).catch(console.error); }} />;
}

@uploadthing/react examples

From open-source projects on GitHub

react-drag-drop-files

Provides drag-and-drop uploads for files and images in React, styled with styled-components.

Downloads / mo
557.8K
Stars
270
Last release
3.1.0
License
MIT

Quickstart

From README.md
$ npm install react-drag-drop-files@3.1.0 react@19.2.0 react-dom@19.2.0
import React from "react";
import { createRoot } from "react-dom/client";
import { FileUploader } from "react-drag-drop-files";
const host = document.createElement("div"); document.body.append(host);
createRoot(host).render(<FileUploader name="image" types={["JPG", "PNG"]} handleChange={(files) => console.log(files)} />);

FAQ

react-dropzone suits drag-and-drop file selection with a separate upload transport. @uppy/react suits full upload interfaces with resumable transfers through a tus server. @uploadthing/react suits uploads to UploadThing through typed server routes.

@uploadthing/react provides React upload components and typed upload hooks for UploadThing. Its file routes are configured on the server.

No. react-dropzone handles file selection. The application supplies its own upload transport.

@uppy/react provides React components and hooks for Uppy upload interfaces. Its Tus plugin adds resumable uploads.

For coding agents

Found your file upload library? Help your agent use it.

Connect Exa so your coding agent can find the library’s documentation, check its API, and look up implementations while you build.

Run in your terminal

claude plugin install exa@claude-plugins-official