sveltekit-hubspot-form
v0.0.3
Published
To integrate a HubSpot Form to your page which was created on <https://app.hubspot.com/>
Downloads
33
Readme
HubSpot Form
To integrate a HubSpot Form to your page which was created on https://app.hubspot.com/
Install
npm install sveltekit-hubspot-form
Add to the page
If you're seeing this, you've probably already done this step. Congrats!
import { HubSpotForm } from 'sveltekit-hubspot-form';
<HubSpotForm portalId="" formId="" region="" />;
Props
| | | | | | ----------- | ------------------ | ------ | --------------------------- | | portalId | HubSpot Portal ID | string | required | | formId | HubSpot Form ID | string | required | | region | HubSpot region | string | required | | submitText | Submit button text | string | optional, default='Submit' | | loaderColor | Loading div colour | string | optional, default='#4B5563' | | | | | |