Skip to main content

React Quickstart


Are you looking for a framework other than React? Check the Getting Started guides in the sidebar.


To install the Dromo React SDK in your application, just install the NPM package dromo-uploader-react.

npm install dromo-uploader-react


Import the DromoUploader component.

import DromoUploader from "dromo-uploader-react"

Then, add a DromoUploader component to your app. The DromoUploader component accepts the following props.

  • licenseKeystringRequired

    Your Dromo front-end license key, which can be found in the Dromo dashboard

  • fieldsField[]Required

    An array of fields which comprise your import schema

  • settingsSettingsRequired

    Settings to change the behavior of the Dromo importer

  • userUserRequired

    Metadata about the end user to associate with the import

  • rowHooksRowHook[]

    An array of row hook functions

  • bulkRowHooksBulkRowHook[]

    An array of bulk row hook functions

  • columnHooksobject[]

    An array of column hook objects. Column hook objects have two entries:

  • stepHooksobject[]

    An array of step hook objects. Step hook objects have two entries:

    • callbackStepHook

      A function matching the signature for the specified step hook type

  • beforeFinishBeforeFinishCallback

    A beforeFinish callback function called immediately before completing the import to check results

  • onResultsOnResultsCallback

    An onResults callback function called with the results after the user finishes the import

  • onCancel() => void

    Called if the user leaves the Dromo Uploader before completing the import

Basic example

To use the example below, replace "FRONTEND_API_KEY" with your frontend license key from the Dromo dashboard.

label: "Name",
key: "name",
label: "Email",
key: "email_address",
importIdentifier: "Contacts",
developmentMode: true,
id: "1",
name: "Jane Doe",
email: "",
companyId: "Dromo",
companyName: "12345",
onResults={(response, metadata) =>
// Do something with the data here
console.log(response, metadata)
Launch Dromo

Walkthrough video

Want a more detailed walkthrough? Jeff will escort you step-by-step through the process.