Antigravity form templates for AI websites and apps
Real form designs you can copy into Antigravity. Antigravity turns a pasted template into code in your project's stack, written and tested by Antigravity's agents. Below: the designs, how to set Antigravity up so it keeps the design, and what makes a good form section.
Antigravity form templates
63 form design templates for Antigravity. Browse the full BrowserMoon library for every template category.
48 of 63
How to use form templates with Antigravity
Pick a design
Choose a form design above and open it to see it live.
Copy the template
Copy the template from its page. It is one HTML file with no dependencies.
Set up Antigravity
Save the template and its DESIGN.md in your project, and add a rule in AGENTS.md or GEMINI.md telling the agents to follow them for all UI work.
Prompt, then refine
Paste it and describe your product. Then follow up with: "Build this section from design/template.html and follow DESIGN.md. Open it in the browser and fix any differences from the template."
What makes a good form section
Common types: sign up and sign in pages, contact forms, multi-step forms and settings forms.
As few fields as possible
Ask only what you need now.
Labels above fields
Placeholders disappear when people type.
Helpful errors
Say what is wrong and how to fix it, next to the field.
Common mistake: Long forms that ask for everything before giving anything. Form design ideas →
Keeping the design in Antigravity
Antigravity runs several agents that plan, code and test in a built-in browser, so it suits developers who want agents to build and check whole pages at once.
What Antigravity builds
Code in your project's stack, written and tested by Antigravity's agents.
Where the design goes
Save the template and its DESIGN.md in your project, and add a rule in AGENTS.md or GEMINI.md telling the agents to follow them for all UI work.
Antigravity and form sections
Ask it to wire the form's submit to your existing back end or form service, and to keep validation messages in the template's style.
What to tell it
Keep the field layout and spacing, keep labels visible, and add clear error messages next to each field.
Set it up once with our DESIGN.md templates.
Not sure which form design fits?
Ask Mon, the AI design assistant, describe your product and Mon suggests the form design and how to prompt Antigravity with it.
Frequently asked questions
How do I use a form template in Antigravity?
Save the template and its DESIGN.md in your project, add a rule in AGENTS.md or GEMINI.md to follow them, and ask the agent for the page. Save the template and its DESIGN.md in your project, and add a rule in AGENTS.md or GEMINI.md telling the agents to follow them for all UI work.
What does Antigravity turn the template into?
Code in your project's stack, written and tested by Antigravity's agents.
How do I stop Antigravity changing the design?
Each agent can pick its own look unless a rule points them all to the same design. A follow-up prompt that helps: "Build this section from design/template.html and follow DESIGN.md. Open it in the browser and fix any differences from the template."
What makes a good form section?
As few fields as possible: ask only what you need now. Labels above fields: placeholders disappear when people type. Helpful errors: say what is wrong and how to fix it, next to the field.
Any Antigravity tips for form sections?
Ask it to wire the form's submit to your existing back end or form service, and to keep validation messages in the template's style.
More Antigravity template categories
Form templates for other tools