uppy/packages/@uppy/react
github-actions[bot] e0561585eb
Release: uppy@4.12.2 (#5590)
| Package                    | Version | Package                    | Version |
| -------------------------- | ------- | -------------------------- | ------- |
| @uppy/audio                |   2.1.1 | @uppy/instagram            |   4.2.1 |
| @uppy/aws-s3               |   4.2.1 | @uppy/onedrive             |   4.2.2 |
| @uppy/box                  |   3.2.1 | @uppy/progress-bar         |   4.2.1 |
| @uppy/companion-client     |   4.4.1 | @uppy/provider-views       |   4.4.1 |
| @uppy/compressor           |   2.2.1 | @uppy/react                |   4.2.1 |
| @uppy/core                 |   4.4.1 | @uppy/remote-sources       |   2.3.1 |
| @uppy/dashboard            |   4.3.1 | @uppy/screen-capture       |   4.2.1 |
| @uppy/drag-drop            |   4.1.1 | @uppy/status-bar           |   4.1.1 |
| @uppy/drop-target          |   3.1.1 | @uppy/thumbnail-generator  |   4.1.1 |
| @uppy/dropbox              |   4.2.1 | @uppy/transloadit          |   4.2.1 |
| @uppy/facebook             |   4.2.1 | @uppy/tus                  |   4.2.1 |
| @uppy/file-input           |   4.1.1 | @uppy/unsplash             |   4.3.1 |
| @uppy/form                 |   4.1.1 | @uppy/url                  |   4.2.1 |
| @uppy/golden-retriever     |   4.1.1 | @uppy/vue                  |   2.1.1 |
| @uppy/google-drive         |   4.3.1 | @uppy/webcam               |   4.1.1 |
| @uppy/google-drive-picker  |   0.3.2 | @uppy/webdav               |   0.3.1 |
| @uppy/google-photos        |   0.5.1 | @uppy/xhr-upload           |   4.3.2 |
| @uppy/google-photos-picker |   0.3.2 | @uppy/zoom                 |   3.2.1 |
| @uppy/image-editor         |   3.3.1 | uppy                       |  4.12.2 |
| @uppy/informer             |   4.2.1 |                            |         |

- @uppy/provider-views: Import types consistently from @uppy/core (Merlijn Vos / #5589)
- @uppy/status-bar: fix double upload progress (Mikael Finstad / #5587)
- @uppy/provider-views: fix incorrect import (Merlijn Vos / #5588)
2025-01-09 12:48:54 +00:00
..
src Import types consistently from @uppy/core (#5589) 2025-01-09 11:03:43 +01:00
.npmignore @uppy/react: refactor to TS (#5012) 2024-03-27 11:03:34 +01:00
CHANGELOG.md Release: uppy@4.11.0 (#5574) 2025-01-06 14:11:04 +00:00
LICENSE Move React components to @uppy/react package. 2018-06-18 10:14:08 +02:00
package.json Release: uppy@4.12.2 (#5590) 2025-01-09 12:48:54 +00:00
README.md Fix links (#5492) 2024-10-29 13:54:00 +01:00
tsconfig.build.json Remove "paths" from all tsconfig's (#5572) 2025-01-06 12:14:42 +01:00
tsconfig.json Remove "paths" from all tsconfig's (#5572) 2025-01-06 12:14:42 +01:00

@uppy/react

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

React component wrappers around Uppys officially maintained UI plugins.

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

Example

/** @jsx React */
import React from 'react'
import Uppy from '@uppy/core'
import { DashboardModal } from '@uppy/react'

const uppy = new Uppy()

class Example extends React.Component {
  state = { open: false }

  render() {
    const { open } = this.state
    return (
      <DashboardModal
        uppy={uppy}
        open={open}
        onRequestClose={this.handleClose}
      />
    )
  }
  // ..snip..
}

Installation

$ npm install @uppy/react

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