Skip to main content

React Embedding

Embed FileFeed in React applications
Embed FileFeed in your React application using our React SDK. This provides React components and hooks for seamless data import, mapping, validation, and transformation.

Installation

Basic Implementation

1. Wrap Your App

Wrap your application with the FilefeedProvider:

2. Add Import Interface

Use the FilefeedWorkbook component to create a data import interface:

3. Configure Your Import

Set up your data schema and import preferences. No additional credentials required for basic usage. For configuration options, see Configuration.

Complete Example

The example below will create a workbook with a contacts sheet. Users can upload CSV/Excel files or manually enter data.

Configuration Options

For all configuration options including custom transforms, validations, and advanced settings, see Advanced Configuration.

Using Workbook Component

For more control, you can use the FilefeedWorkbook component directly with custom configuration:

Creating New Workbooks

To create a new Workbook each time:
  1. Add a workbook configuration object with sheets and fields
  2. Optionally configure custom transforms and validations
  3. Set up event handlers for data processing
For detailed workbook configuration, see the Workbook Configuration Reference.

Using Hooks for Advanced Control

For more advanced control, you can use the useFilefeed hook:
This approach allows you to:
  • Control the import interface programmatically
  • Add custom event listeners and data processing
  • Integrate with your existing UI components
For complete integration examples, see Integration Examples.

TypeScript Support

The React SDK includes full TypeScript support:

Next Steps

Advanced Configuration

Custom transforms, validations, and advanced options

Example Projects

React Boilerplate

Complete React application with FileFeed embedding - ready to run example