1.0.1 • Published 2 years ago

react-hubspot-forms v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

react-hubspot-forms

Travis npm package Coveralls

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.