talira

FilePond

A flexible JavaScript file upload library

open sourceMITfree

FilePond is a JavaScript library for file upload fields. It turns a file input into a drop area that takes files from drag and drop, the clipboard, URLs and the file browser, uploads them asynchronously or with a form, and can resize, crop and fix the orientation of images in the browser before they're sent. The core is vanilla JavaScript with no dependencies, with adapters for React, Vue, Svelte, Angular and jQuery, and plugins add previews, validation and image transforms. Its makers also sell the Pintura image editor, which plugs into it.

Problems it solves

  • a nice drag and drop file upload field for my web app
  • resize and crop images in the browser before uploading them to save bandwidth
  • a file upload component that works with React and my existing form

Features

  • drag and drop, paste, URL and file browser input
  • asynchronous or form-based uploads
  • client-side image resizing, cropping and orientation correction
  • vanilla JavaScript with no dependencies
  • adapters for React, Vue, Svelte, Angular and jQuery
  • plugin system for previews and validation
  • accessible upload UI

Alternatives

The same job

These do what FilePond does.

  1. Uppy Modular open source JavaScript file uploader for the browser

Compare FilePond with the top 3