# gatsby-plugin-arengu-forms

> Gatsby plugin to embed Arengu forms on your site

Latest version **1.0.1** (published 2019-04-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install gatsby-plugin-arengu-forms
pnpm add gatsby-plugin-arengu-forms
yarn add gatsby-plugin-arengu-forms
bun add gatsby-plugin-arengu-forms
```

## 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.0.1 |
| Published | 2019-04-02 |
| First published | 2019-04-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 5.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Jacobo Vidal |
| Maintainers | arengu |
| Keywords | arengu, arengu-form, online-form, web-form, static-form, form-builder, signup-form, payment-form, contact-form, gatsby, gatsby-plugin |

## Links

- npm: https://www.npmjs.com/package/gatsby-plugin-arengu-forms
- npm.io page: https://npm.io/package/gatsby-plugin-arengu-forms

## 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.0.1 (latest) — 2019-04-02
- 1.0.0 — 2019-04-02

## README

# Arengu Forms for Gatsby websites

This Gatsby plugin allows you to easily embed [Arengu Forms](https://www.arengu.com) into your Gatsby website.

## Install

```shell
npm install --save gatsby-plugin-arengu-forms
```

## Getting started

Add the Arengu Forms plugin to your `gatsby-config.js` file:

```javascript
plugins: [`gatsby-plugin-arengu-forms`]
```

This plugin will load into your website our [JavaScript SDK](https://github.com/arengu/forms-js-sdk) asynchronously, so it won’t affect your website load speed.

## Usage

To use this plugin you have to import `ArenguForm` component and pass the required [props](#arenguform-props).

### Example of basic usage

```jsx
import React from "react"
import { ArenguForm } from "gatsby-plugin-arengu-forms"

const IndexPage = () => (
  <div>
    <ArenguForm id="123456789" />
  </div>
)

export default IndexPage
```

### Example of usage with `hiddenFields` prop

```jsx
import React from "react"
import { ArenguForm } from "gatsby-plugin-arengu-forms"

const IndexPage = () => (
  <div>
    <ArenguForm
      id="123456789"
      hiddenFields={[
        {
          key: 'userId',
          value: '12345',
        },
        {
          key: 'source',
          value: 'anyString',
        },
      ]}
    />
  </div>
)

export default IndexPage
```

## ArenguForm Props

| prop                      | type   | description                                                                        |
| ------------------------- | ------ | ---------------------------------------------------------------------------------- |
| id *(required)*           | string | The **Form ID** of your form. You can find it in your form settings or share page. |
| hiddenFields *(optional)* | array  | `Array of objects` with `key` and `value` properties |

---
_Source: https://npm.io/package/gatsby-plugin-arengu-forms · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
