React File Uploader

Welcome to the Simple File Upload React Uploader documentation. This documentation provides guidance on how to add the Simple File Upload React Uploader to your projects - let's get started!

1. Install the React component

There is a React component for Simple File Upload called `react-simple-file-upload`. You can install it with npm or yarn: `npm install react-simple-file-upload`

2. Import and use the React component

Once installed, you can import and use the package. Once uploaded, the file will be available in the `onSuccess` handler.

import { SimpleFileUpload } from 'react-simple-file-upload'

  <SimpleFileUpload
    apiKey="..."
    onSuccess={handleFile}
  />

  function handleFile(url){
    console.log('The URL of the file is ' + url)
  }

See a detailed explanation of how to use the React component with a working sample application here: How to use Simple File Upload with React.

You can also check out our live demo

Get Started with Simple File Upload.

Easy Uploads. Effortless Integration.

Start Uploading for Free