Google Stitch modal templates for AI websites and apps
Real modal designs you can copy into Google Stitch. Google Stitch turns a pasted template into screens on Stitch's design canvas, which you can export along with a DESIGN.md for your coding agent. Below: the designs, how to set Google Stitch up so it keeps the design, and what makes a good modal section.
Google Stitch modal templates
13 modal design templates for Google Stitch. Browse the full BrowserMoon library for every template category.
Browse all templatesHow to use modal templates with Google Stitch
Pick a design
Choose a modal 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 Google Stitch
Bring the template's DESIGN.md into your Stitch project as its design system, so every generated screen uses its colours, type and spacing.
Prompt, then refine
Paste it and describe your product. Then follow up with: "Design this section using the imported design system. Keep its colours, type scale and spacing exactly."
What makes a good modal section
Common types: confirm dialogs, upgrade prompts, short forms and command palettes.
One task per modal
Confirm, choose or fill one short form.
Easy to close
A close button, the Escape key and a click outside.
Focus stays inside
Keyboard users can finish without getting lost.
Common mistake: Modals that open on page load and block reading.
Keeping the design in Google Stitch
Stitch generates screens from prompts on a design canvas, so it suits founders and designers who want to explore and design screens before any code is written.
What Google Stitch builds
Screens on Stitch's design canvas, which you can export along with a DESIGN.md for your coding agent.
Where the design goes
Bring the template's DESIGN.md into your Stitch project as its design system, so every generated screen uses its colours, type and spacing.
Google Stitch and modal sections
Without a design system, each Stitch prompt invents its own style and screens stop matching. Paste the template again with your follow-up prompt if it starts to drift.
What to tell it
Keep the modal size and layout, make Escape and the close button work, and keep focus inside the modal.
Set it up once with our DESIGN.md templates.
Not sure which modal design fits?
Ask Mon, the AI design assistant, describe your product and Mon suggests the modal design and how to prompt Google Stitch with it.
Frequently asked questions
How do I use a modal template in Google Stitch?
Bring the template's DESIGN.md into your Stitch project as its design system, then describe the screen you want. Bring the template's DESIGN.md into your Stitch project as its design system, so every generated screen uses its colours, type and spacing.
What does Google Stitch turn the template into?
Screens on Stitch's design canvas, which you can export along with a DESIGN.md for your coding agent.
How do I stop Google Stitch changing the design?
Without a design system, each Stitch prompt invents its own style and screens stop matching. A follow-up prompt that helps: "Design this section using the imported design system. Keep its colours, type scale and spacing exactly."
What makes a good modal section?
One task per modal: confirm, choose or fill one short form. Easy to close: a close button, the Escape key and a click outside. Focus stays inside: keyboard users can finish without getting lost.
Any Google Stitch tips for modal sections?
Without a design system, each Stitch prompt invents its own style and screens stop matching. Paste the template again with your follow-up prompt if it starts to drift.
More Google Stitch template categories
Modal templates for other tools