Gatsby basic form Functions example
This example shows how to build a form with react-hook-form that submits to a Gatsby Function.
To get started clone this repo locally and run
npm installto add all necessary packages.
cd examples/functions-basic-form npm install npm run develop
Open the code and start customizing!
Try editing the function in
src/api/form.tsor form at
You can deploy this example on Gatsby Cloud by copying the example into a new repo and connecting that to Gatsby Cloud.