Getting Started
Uppy is in development, some features are unavailable and things may break.
Installing from NPM
NPM is the recommended installation method when building large scale apps with Uppy. It pairs nicely with a CommonJS module bundler such as Webpack, Browserify or Rollup.js.
|
|
or
|
Add CSS uppy.min.css, either to head of your HTML or include in JS, if your bundler of choice supports it — transforms and plugins are available for Browserify and Webpack.
Give Uppy a spin on RequireBin.
Installing from CDN
But if you like, you can also use a pre-built bundle, for example from unpkg CDN. In that case Uppy will attach itself to the global window object.
1. Add a script to your the bottom of your HTML’s <body>:
|
2. Add CSS to your HTML’s <head>:
3. Initialize:
|
API
Check out the API section.
Browser Support
Note: we aim to support IE10+ and recent versions of Safari, Edge, Chrome, Firefox and Opera. IE6 on the chart above means we recommend setting Uppy to target a <form> element, so when Uppy has not yet loaded or is not supported, upload still works. Even on the refrigerator browser. Or, yes, IE6.