Create a mutation for a collection in your database
Bind the values in your inputs to the parameters of your mutation
Select the layer or element you want to render as a form in Figma
In the plugin navigate to the Component section
Set the type to form
The mutation in the context of your form will be displayed automatically
Add a button to your form for the submit action
Compile and publish your project
Usage
Select this component to render a form element in your HTML DOM.
Rendered Element
Considerations
When an element in Figma is set as Form, it is created as a new component, and if the element is within an instance of a component, the children of the parent instance will be overwritten.