@webiny/app-form-builder

[![](https://img.shields.io/npm/dw/@webiny/app-form-builder.svg)](https://www.npmjs.com/package/@webiny/app-form-builder) [![](https://img.shields.io/npm/v/@webiny/app-form-builder.svg)](https://www.npmjs.com/package/@webiny/app-form-builder) [![code sty

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@webiny/app-form-builder
6,0651345.32.0a month ago3 years agoMinified + gzip package size for @webiny/app-form-builder in KB

Readme

@webiny/app-form-builder
code style: prettier PRs Welcome
An app for creating forms that can be embedded into pages created with Webiny Page Builder.
Use together with @webiny/api-form-builder package.

Install

npm install --save @webiny/app-form-builder

Or if you prefer yarn:
yarn add @webiny/app-form-builder

Setup

To setup, you must register a set of plugins. For more information on plugins, please visit Webiny documentation.

Admin

import { plugins } from "@webiny/plugins";
import formsPlugins from "@webiny/app-form-builder/admin/plugins";
import formsCmsPlugins from "@webiny/app-form-builder/page-builder/admin/plugins";

plugins.register(formsPlugins);

Note: the formsCmsPlugins contains plugins for the Page Builder, which will enable you to embed forms in your pages.

Site

import { plugins } from "@webiny/plugins";
import formsSitePlugins from "@webiny/app-form-builder/site/plugins";
import formsCmsPlugins from "@webiny/app-form-builder/page-builder/site/plugins";

plugins.register(formsPlugins);