Uppy is an open source project by Transloadit

<ProgressBar />

The <ProgressBar /> component wraps the @uppy/progress-bar plugin.


Install from NPM:

npm install @uppy/react
// Either:
import ProgressBar from '@uppy/react/lib/ProgressBar'
// Or:
import { ProgressBar } from '@uppy/react'


The ProgressBar plugin requires the following CSS for styling:

import '@uppy/core/dist/style.css'
import '@uppy/progress-bar/dist/style.css'

Import general Core styles from @uppy/core/dist/style.css first, then add the Progress Bar styles from @uppy/progress-bar/dist/style.css. A minified version is also available as style.min.css at the same path. The way to do import depends on your build system.

Initializing Uppy

Your Uppy instance must be initialized before passing it to an uppy={} prop, and should be cleaned up using uppy.close() when you are done with it. A simple approach is to initialize it in your React component’s constructor() and destroy it in componentWillUnmount().

⚠ Uppy instances are stateful, so the same instance must be used across different renders.
Do NOT initialize Uppy in a render() method!
Do NOT initialize Uppy in a function component!

class MyComponent extends React.Component {
  constructor (props) {
    this.uppy = Uppy()
      .use(Transloadit, {})

  componentWillUnmount () {

  render () {
    return <ProgressBar uppy={this.uppy} />


The <ProgressBar /> component supports all @uppy/progress-bar options as props.