Claude Code login and signup page prompt
Sign in, sign up and forgot password screens with social login, clear errors and a branded side panel.
Template: Login page
“Build the sign in, sign up and forgot password pages for [product name]…”
Real form designs you can copy into Claude Code. Claude Code turns a pasted template into code in whatever stack your project already uses, from plain HTML to Next.js or SvelteKit. Below: the designs, how to set Claude Code up so it keeps the design, and what makes a good form section.
63 form design templates for Claude Code. Browse the full BrowserMoon library for every template category.
48 of 63
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 Claude Code
Save the template in your repo, for example as design/template.html, and point to it from CLAUDE.md so Claude Code reads it at the start of every session.
Prompt, then refine
Paste it and describe your product. Then follow up with: "Rebuild this section in our stack using design/template.html. Keep its spacing, type sizes and colours exactly; change only the text."
Common types: sign up and sign in pages, contact forms, multi-step forms and settings forms.
Ask only what you need now.
Placeholders disappear when people type.
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 →
Claude Code works in your terminal on a real codebase, so it suits developers who want the design built into an existing project and kept consistent across many sessions.
Code in whatever stack your project already uses, from plain HTML to Next.js or SvelteKit.
Save the template in your repo, for example as design/template.html, and point to it from CLAUDE.md so Claude Code reads it at the start of every session.
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.
Keep the field layout and spacing, keep labels visible, and add clear error messages next to each field.
Set it up once with our CLAUDE.md design template.
Sign in, sign up and forgot password screens with social login, clear errors and a branded side panel.
Template: Login page
“Build the sign in, sign up and forgot password pages for [product name]…”
More in Claude Code prompts.
Ask Mon, the AI design assistant, describe your product and Mon suggests the form design and how to prompt Claude Code with it.
Paste the template code into your Claude Code session and tell it what to build around the design. Save the template in your repo, for example as design/template.html, and point to it from CLAUDE.md so Claude Code reads it at the start of every session.
Code in whatever stack your project already uses, from plain HTML to Next.js or SvelteKit.
Without a rule in CLAUDE.md, later sessions drift back to generic spacing and colours. A follow-up prompt that helps: "Rebuild this section in our stack using design/template.html. Keep its spacing, type sizes and colours exactly; change only the text."
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.
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 Claude Code template categories
Form templates for other tools