mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-20 16:53:33 +00:00
- uppy@0.30.2 - @uppy/aws-s3-multipart@0.30.2 - @uppy/aws-s3@0.30.2 - @uppy/companion-client@0.28.2 - @uppy/companion@0.17.2 - @uppy/core@0.30.2 - @uppy/dashboard@0.30.2 - @uppy/drag-drop@0.30.2 - @uppy/dropbox@0.30.2 - @uppy/file-input@0.30.2 - @uppy/form@0.30.2 - @uppy/golden-retriever@0.30.2 - @uppy/google-drive@0.30.2 - @uppy/informer@0.30.2 - @uppy/instagram@0.30.2 - @uppy/progress-bar@0.30.2 - @uppy/provider-views@0.30.2 - @uppy/react@0.30.2 - @uppy/redux-dev-tools@0.30.2 - @uppy/robodog@0.30.2 - @uppy/status-bar@0.30.2 - @uppy/store-default@0.28.2 - @uppy/store-redux@0.28.2 - @uppy/thumbnail-generator@0.30.2 - @uppy/transloadit@0.30.2 - @uppy/tus@0.30.2 - @uppy/url@0.30.2 - @uppy/utils@0.30.2 - @uppy/webcam@0.30.2 - @uppy/xhr-upload@0.30.2 |
||
|---|---|---|
| .. | ||
| src | ||
| types | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
@uppy/file-input
FileInput is the most barebones UI for selecting files—it shows a single button that, when clicked, opens up the browser’s file selector.
Uppy is being developed by the folks at Transloadit, a versatile file encoding service.
Example
const Uppy = require('@uppy/core')
const FileInput = require('@uppy/file-input')
const uppy = Uppy()
uppy.use(FileInput, {
// Options
})
Installation
$ npm install @uppy/file-input --save
We recommend installing from npm and then using a module bundler such as Webpack, Browserify or Rollup.js.
Alternatively, you can also use this plugin in a pre-built bundle from Transloadit's CDN: Edgly. In that case Uppy will attach itself to the global window.Uppy object. See the main Uppy documentation for instructions.
Documentation
Documentation for this plugin can be found on the Uppy website.