Skip to main content
Add the following code to the app/layout.tsx file:
You must replace the REPLACE ME WITH FORM URL with the form URL from the Surface Form Builder.
Add the surface-form-button className to the element you want to use to trigger the form.