react-hubspot-forms
v1.0.1
Published
react-hubspot-forms React component
Downloads
529
Maintainers
Readme
react-hubspot-forms
React-hubspot-forms
react-hubspot-forms is a simple, functional way to incorporate Hubspot forms into React-based application.
If you have a Hubspot account and are trying to use their JS library, there's quite a lot of work to do to incorporate it, so we at Dwellsy bundled it into a reusable component to make it more easy to add to pages, ergo more easy to leverage Hubspot's service.
Installation
npm i -S react-hubspot-forms
import { HubspotForm } from 'react-hubspot-forms'
const Form = ({ portal, form }) => {
<HubspotForm portalId={portalId} formId={form} />
}
Demo
We're using it live in production. Here is a page on Dwellsy.com where we are using it directly.