Bolt modal templates for AI websites and apps
Real modal designs you can copy into Bolt. Bolt turns a pasted template into a full JavaScript app, usually React with Vite, running in the browser. Below: the designs, how to set Bolt up so it keeps the design, and what makes a good modal section.
Bolt modal templates
13 modal design templates for Bolt. Browse the full BrowserMoon library for every template category.
Browse all templatesHow to use modal templates with Bolt
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 Bolt
Paste the template into your first Bolt prompt as the design to build from, and describe the product in a sentence or two.
Prompt, then refine
Paste it and describe your product. Then follow up with: "Use the pasted template as the exact design for this section. Do not change the layout or spacing."
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 Bolt
Bolt builds and runs a full app in the browser, so it suits fast prototypes and launch pages you want to see working within minutes.
What Bolt builds
A full JavaScript app, usually React with Vite, running in the browser.
Where the design goes
Paste the template into your first Bolt prompt as the design to build from, and describe the product in a sentence or two.
Bolt and modal sections
Very long prompts get summarised, so details of a big template can be lost. 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.
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 Bolt with it.
Frequently asked questions
How do I use a modal template in Bolt?
Paste the template code into your Bolt prompt at bolt.new and describe what your product does. Paste the template into your first Bolt prompt as the design to build from, and describe the product in a sentence or two.
What does Bolt turn the template into?
A full JavaScript app, usually React with Vite, running in the browser.
How do I stop Bolt changing the design?
Very long prompts get summarised, so details of a big template can be lost. A follow-up prompt that helps: "Use the pasted template as the exact design for this section. Do not change the layout or spacing."
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 Bolt tips for modal sections?
Very long prompts get summarised, so details of a big template can be lost. Paste the template again with your follow-up prompt if it starts to drift.
More Bolt template categories
Modal templates for other tools