# react-hubspot-form

> A React component to render HubSpot forms.

Latest version **1.3.7** (published 2018-12-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-hubspot-form
pnpm add react-hubspot-form
yarn add react-hubspot-form
bun add react-hubspot-form
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.3.7 |
| Published | 2018-12-07 |
| First published | 2018-02-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 247.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Kennedy Rose |
| Maintainers | ken85rose, suhay, tbaustin |
| Keywords | react, hubspot, form |

## Links

- npm: https://www.npmjs.com/package/react-hubspot-form
- Repository: https://github.com/escaladesports/react-hubspot-form
- Homepage: https://github.com/escaladesports/react-hubspot-form#readme
- Issues: https://github.com/escaladesports/react-hubspot-form/issues
- npm.io page: https://npm.io/package/react-hubspot-form

## Dependencies (1)

- [styled-jsx](https://npm.io/package/styled-jsx.md) ^2.2.4

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.3.7 (latest) — 2018-12-07
- 1.3.6 — 2018-09-13
- 1.3.5 — 2018-09-10
- 1.3.4 — 2018-08-24
- 1.3.3 — 2018-07-30
- 1.3.1 — 2018-07-11
- 1.3.0 — 2018-07-06
- 1.2.2 — 2018-05-09
- 1.2.1 — 2018-05-09
- 1.2.0 — 2018-05-04
- 1.1.1 — 2018-05-04
- 1.0.5 — 2018-02-13
- 1.0.4 — 2018-02-12
- 1.0.3 — 2018-02-12
- 1.0.2 — 2018-02-09
- … 2 more at https://npm.io/package/react-hubspot-form/versions

## README

# react-hubspot-form

A React component to render HubSpot forms.

## Installation

With npm:

```bash
npm install --save react-hubspot-form
```

Or with Yarn:

```bash
yarn add react-hubspot-form
```

## Usage

```jsx
import HubspotForm from 'react-hubspot-form'

...

<HubspotForm
   portalId='your_portal_id'
   formId='your_form_id'
   onSubmit={() => console.log('Submit!')}
   onReady={(form) => console.log('Form ready!')}
   loading={<div>Loading...</div>}
   />
```

## Options

You can also set any [additional options that HubSpot provides](https://developers.hubspot.com/docs/methods/forms/advanced_form_options) as properties in the component.

---
_Source: https://npm.io/package/react-hubspot-form · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
