๐ Quick start
React App Quickstart
Learn how to add CustomGForm to your React or Next.js app
Install
pnpm i @customgform-lib/react-customgformAdd to your React component
// ts
import React from 'react';
import CustomGForm from '@customgform-lib/react-customgform';
function Example() {
return <CustomGForm
formId="clj5flan90005wnju2yq4k38b"
prefillFields={{
'325391704': 'John',
'1801257527': '[email protected]',
}}
/>;
}| Option | Type | Description |
|---|---|---|
| formId | string | CustomGForm Form ID |
| prefillFields | object | (optional) list of fields to prefill, e.g {"1801257527": "[email protected]"} |
Replace FORM_ID to your customized CustomGForm form ID.
Related Guides
Last updated on
HTML Quickstart โ CustomGForm Embed Code
Learn how to embed CustomGForm in any static or dynamic HTML website in standard inline or popup modal mode.
Embed Google Form in Vue App Quickstart
Learn how to integrate CustomGForm in your Vue 3 or Nuxt applications using our official Vue component library.