uppy/packages/@uppy/file-input
Evgenia Karunus b9582e1e67
Transform the accept prop into a string everywhere (#5380)
* `/dev/Dashboard.js` - add all restrictions for the development environment

* `AddFiles.tsx` - turn `accept` into a string

* everywhere - make `accept` a string across uppy
2024-08-01 15:18:55 +05:00
..
src Transform the accept prop into a string everywhere (#5380) 2024-08-01 15:18:55 +05:00
.npmignore @uppy/file-input: refactor to TypeScript (#4954) 2024-02-24 11:13:36 +01:00
CHANGELOG.md Release: uppy@4.0.0-beta.4 (#5130) 2024-04-29 20:12:59 +00:00
LICENSE Move FileInput plugin to @uppy/file-input. 2018-06-14 11:14:02 -04:00
package.json Release: uppy@4.0.0 (#5325) 2024-07-10 15:36:53 +00:00
README.md meta: enable prettier for markdown (#5133) 2024-05-02 11:35:55 +02:00
tsconfig.build.json @uppy/file-input: refactor to TypeScript (#4954) 2024-02-24 11:13:36 +01:00
tsconfig.json @uppy/file-input: refactor to TypeScript (#4954) 2024-02-24 11:13:36 +01:00

@uppy/file-input

Uppy logo: a smiling puppy above a pink upwards arrow

npm version CI status for Uppy tests CI status for Companion tests CI status for browser tests

FileInput is the most barebones UI for selecting files—it shows a single button that, when clicked, opens up the browsers file selector.

Read the docs | Try it

Uppy is being developed by the folks at Transloadit, a versatile file encoding service.

Example

import Uppy from '@uppy/core'
import FileInput from '@uppy/file-input'

const uppy = new Uppy()
uppy.use(FileInput, {
  // Options
})

Installation

$ npm install @uppy/file-input

Alternatively, you can also use this plugin in a pre-built bundle from Transloadits 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.

License

The MIT License.