This feature requires paid tier of framer!
Create Surface Constructor
- In Framer, go to project
settings
. - Scroll down to
Custom Code
section.
End of <body> tag
section.
Add className to the target element
Select the button or element where you want to trigger the form. Open theproperties
of the element and scroll down to Code Overrides
section.
- Click on
New File
underFile
selection menu. Name itSurfaceFormButton
. - Rename the file and click on
Create
. - In the code editor, go to the very bottom, add a new line, and paste the following code:
- Now go back to the element, In
File
selection menu, selectSurfaceFormButton
in the first dropdown and selectwithClass
from theOverride
selection menu.