React SDK

@feathery/react is a React library that allows you to embed Feathery forms, access form state, and modify form behavior.

@feathery/react is a library you can use to embed a Feathery form anywhere in your React app or website. It also supports granular customization of your form logic, components, and design.

What you need

  • An active Feathery account and form

  • Your form's ID. This can be found on the form's settings page on the dashboard.

Installation

You can install @feathery/react directly from NPM.

npm install @feathery/react

@feathery/react is compatible with React 16.8+ (the one with React Hooks).

Quickstart example

The following is a React component that renders a Feathery form. Make sure to replace SDKKey and formId with your relevant info.

import { init, Form } from '@feathery/react';

function App() {
  // Initialize Feathery
  init('<SDKKey>');
  // Show the Feathery form
  return <Form formId='<formId>' />
}

Last updated