Skip to content

Workshop / AI tools

How to use a website template in Lovable, v0 and Bolt

Paste one file, then make it the client's: name, photos, prices and phone, without losing the layout.

7 min readPublished 10 Nov 2026

To use a website template in Lovable, v0 or Bolt, start a new project and paste the template’s code as your first message, with nothing else. Check the preview against the original design, then ask for content changes one at a time, and tell the tool to keep the layout each time. That order is what stops the AI from drifting back to a generic look.

This guide is for designers, freelancers and developers who build small-business websites with AI tools. It covers what a template gives an AI builder, a five-step method that works in all three tools, prompts that keep the design intact, and when to switch to Claude Code or Cursor instead.

Why use a template with an AI builder

Lovable, v0 (by Vercel) and Bolt all turn a chat message into a working web page. They are good at following a clear instruction and weaker at inventing a layout that looks like a real business. Ask any of them for “a website for a cafe” and you tend to get the same centred headline, the same gradient and the same three feature cards.

A template fixes the weak part. You give the tool a finished layout, with real structure, type and spacing, and use the AI for what it does well: swapping in content, wiring up links and building the rest of the site in the same style.

There are two kinds of “Lovable templates” to be aware of. Lovable has its own templates inside the app, which are starting points for apps. A design template like the Herosmith heroes is code you paste in, built to look like a specific small business from the first screen.

What you get with a Herosmith template

Every free hero in the library unlocks with one email. The link in that email gives you three ways in:

Option What it is Use it in
Copy prompt One React file, with the instruction for the AI tool written at the top Lovable, v0, Bolt
Copy HTML The same design as a single HTML file Any tool, or a plain website
Download folder (.zip) The code, every image, screenshots at 1440px and 390px wide, and an AGENTS.md file Claude Code, Cursor

The design is the same in all three. Only the packaging changes.

How to paste a template into Lovable, v0 or Bolt

The steps are the same in all three tools, because each one takes a pasted chat message as its starting point.

  1. Copy the prompt. On the design’s page, use Copy prompt after unlocking the code.
  2. Start a new, empty project. Pasting into a project that already has pages mixes two designs.
  3. Paste it as your first message, with nothing added. The instruction at the top tells the tool what the file is and what to keep. Adding “and make it blue” in the same message is the most common reason a result drifts.
  4. Check the preview against the design. Compare it with the design’s page in the library, or with shots/1440.png and shots/390.png in the download folder.
  5. Fix one thing at a time. If the layout is off, ask for that one part back before changing any content.

When you check the preview, look at three things: the layout (same columns, crops and order), the type (same fonts and the same big-to-small contrast) and the button (same place, still visible without scrolling).

1 change per message. Short, specific requests keep the layout intact; a long list of changes in one message invites the tool to redesign.

Prompts that keep the design

Once the preview matches, swap the content one kind at a time and say what must not change. These prompts work in all three tools:

  • “Replace the business name with Northside Physio. Keep the layout, fonts and colours.”
  • “Change the phone number to the client’s number in the header and in the call bar.”
  • “Swap the photos for the ones I’ve attached. Keep the crops and the grid.”
  • “Change the trip prices to these. Do not add or remove trips.”
  • “Match the design: the photo grid is three columns on desktop, not two.”

Avoid open-ended requests such as “make it better” or “make it more modern”. They give the tool permission to restyle, and it usually takes it.

Every Herosmith sample brand uses the placeholder phone number 03 9000 0000 and our demo photos. Replace both before the site goes live.

Lovable, v0 or Bolt: which one?

All three can take a Herosmith template. The choice depends more on where the site will live than on the design.

  • Lovable builds and hosts full apps in the browser, which suits a client who wants to edit by chat later.
  • v0 comes from Vercel, the company behind Next.js, so it fits projects that will be deployed on Vercel or handed to a developer.
  • Bolt runs a full development environment in the browser, which suits quick builds you want to download and host anywhere.

The template doesn’t change between them. Paste the same file and follow the same five steps.

When to use Claude Code or Cursor instead

For a full website rather than one section, or when you work in a code editor, use Download folder. The AGENTS.md file inside tells the agent that source.html is the reference, that it should match it exactly rather than restyle it, and that it must check its result against the screenshots at desktop and phone size before calling the work done.

For a whole site in one brand, with every section and inner page, look at the kits. The Lull kit, for example, is a complete brunch cafe website, from the home page to bookings and contact.

Frequently asked questions

Are the Herosmith templates free?

Every hero section in the library is free. You enter one email address, and the link that arrives unlocks Copy prompt, Copy HTML and the download folder. Full websites, with every section and inner page in one brand, are sold as kits.

Can I use the templates for client websites?

Yes. A free hero covers your own site plus one client site; a paid kit covers unlimited client sites. What neither allows is reselling the designs as templates of your own. The full terms are on the licence page.

Why does my AI builder keep changing the design?

Usually because the first message asked for changes as well as pasting the code, or because a later request was open-ended. Start again with the file alone as the first message, then ask for one specific change at a time, each time saying what to keep.

Do the templates work in Framer or Webflow?

The free heroes are code: React and HTML. They work in any tool that accepts code, but they aren’t native Framer or Webflow projects. Framer versions of the full kits are planned for the Framer Marketplace.

Paste, check, then personalise

Using a website template in Lovable, v0 or Bolt comes down to the order: paste the file alone, check it against the design, then change content in small steps that name what to keep. Pick a design from the templates for Lovable, v0 and Bolt, and if you’re new to the idea, start with what a hero section is.

Heroes in this guide · free

Key takeaways

  1. 01Paste the whole template file as your first message, with nothing added.
  2. 02Check the result against the design at desktop and phone size before you change anything.
  3. 03Change content in small, specific requests, and say what must not change.
  4. 04For a whole site, or for Claude Code and Cursor, use the download folder instead.
Next guide What a cafe website needs on the first screen