Website template

Craftline: a free website template for plumbers and trades

Available asHTMLWordPressAstro

A complete site for a plumbing, heating or other trade business. The demo business, Northside Plumbing & Heating, is fictional, and every detail you would change is in one config file.

Short answer: Craftline is free under the MIT license. Download craftline-html.zip, replace fk_your_access_key with your Formgong access key and https://example.com with your address, and upload the folder to any static host. Quote requests then reach you by email and on Telegram as soon as they are sent, on the free plan too.

See it working

No ratings yet. Be the first to rate Craftline.

Rate it:

Craftline home page with the headline, two buttons and a line drawing of a house at night
The home page. The house stays pinned while the story scrolls past.

Get this template Live demo

The demo form is real: it posts to a Formgong demo form, so you can send yourself a test request. Demo messages are kept for seven days and are not emailed to anyone.

Craftline contact page with the quote form next to phone numbers and opening hours
The contact page and quote form.
Craftline home page on a phone
On a phone.

Get this template

HTML

Plain HTML files with no build step. They run on any static host.

Download craftline-html.zip Live demo

  1. Download craftline-html.zip and unzip it.
  2. Create a free form at formgong.com/new and copy its access key. It starts with fk_ and is safe to put in a web page.
  3. In the .html files, replace fk_your_access_key with your key and https://example.com with your site address. Find and replace across the folder does it in one go.
  4. Upload the folder to a static host such as Cloudflare Pages, Netlify or GitHub Pages.
  5. Send a test message from the live site and check that it reaches your Formgong inbox.

All free HTML templates

WordPress

A block theme with the same look. The form comes from the free Formgong plugin.

Download craftline-wordpress.zip

  1. Download craftline-wordpress.zip. Don't unzip it.
  2. In WordPress, open Appearance → Themes → Add New Theme → Upload Theme, choose the file, click Install Now, then Activate.
  3. Install the free Formgong plugin (Plugins → Add New, search for "Formgong"). Create a free key at formgong.com/new and paste it under Settings → Formgong.
  4. Optional: for the demo pages and menu, download craftline-wordpress-pages.xml and import it under Tools → Import → WordPress.
  5. Send a test message from your site and check that it reaches your Formgong inbox.

The home sections and the pages are block patterns you can edit in the Site Editor, and every text in them is translatable. The quote form is the block of the Formgong plugin, so the theme itself holds no form code and collects nothing. It needs WordPress 6.6 or later and PHP 7.4 or later, and it is MIT-licensed, like the template.

WordPress version: what you can edit and what is in the zip · All free WordPress themes

Astro

The Astro source of the same site, for when you want to change components or add pages. You need Node.js.

npm create astro@latest -- --template formgong/craftline-astro-theme

  1. Run the command above in a terminal. It creates the project in a new folder.
  2. Create a free form at formgong.com/new and copy its access key. It starts with fk_ and is safe to put in a web page.
  3. Put the key in a .env file in the project root as PUBLIC_FORMGONG_ACCESS_KEY=fk_…, and set url in src/config.ts to your domain.
  4. Run npm run dev to see the site at localhost:4321. npm run build puts the finished site in dist/ for any static host.

Or skip the terminal. Each Deploy button copies the theme to your GitHub, builds it and asks for one value, your access key. After that, set url in src/config.ts to your domain.

Deploy to Cloudflare Deploy with Vercel Source on GitHub

All free Astro themes

Use with AI

A prompt for ChatGPT, Claude, v0, Lovable or Bolt that builds a site in Craftline's style: the sections in order, the colours, the fonts, the motion and a contact form that sends to Formgong.

Prompt for Craftline
Build a website for a plumbing and heating business (or another trade) in the style of the free "Craftline" template (live demo: https://craftline.formgong.com).
Write plain HTML, CSS and a little vanilla JavaScript, unless this tool builds in its own stack (v0, Lovable and Bolt use React): then keep the same sections, look and form logic.
Pages: home, one page per service, about, contact with the quote form, thank-you and 404.
Use my business name and details where I give them. Where a section needs photos, names, prices, reviews or other copy I haven't given, use neutral placeholder images (CSS gradients or inline SVG, sized for the layout) and short placeholder text that is clearly marked for me to replace.

Sections, top to bottom:
1. Sticky header: logo, menu, phone number and a "Get a written price" button.
2. Hero as a scroll story: the headline "Plumbing and heating repairs, priced before we start" next to a line drawing of a house at night that stays pinned while six short steps scroll past (the house asleep, a drip under the kitchen sink, one form sent from a phone, a van on the way, price first, a dry floor and a two-year guarantee). Buttons: get a written price, call.
3. Trust strip: licensed, insured and local, with four numbers.
4. Services: six cards (emergency plumbing, leak detection, drain cleaning, water heaters, boilers and heating, fixtures and bathrooms), each saying what the job usually costs, plus an emergency line.
5. One customer quote on a band.
6. Service area: the towns covered.
7. Recent jobs: three customer reviews.
8. FAQ about price, timing and the guarantee (six questions in <details>).
9. Quote form: "Tell us what's wrong and get a written price", with the phone number beside it.
10. Footer: services, company and contact columns.

Colours (define them as CSS variables):
- Background: #0b0e1c
- Surface: #121628
- Raised surface: #191e34
- Text: #f2f3f7
- Muted text: #a5abc0
- Lines: #262b42
- Accent (buttons, highlights): #ff7a29
- Text on accent: #0b0e1c
- Success: #4ade80
- Error: #ff8f80

Fonts (Google Fonts): Urbanist for everything: bold for headings, regular for text.

Motion and hover:
- The scroll story runs on CSS scroll-driven animations (animation-timeline: view()), no animation library; the house lines draw themselves with stroke-dashoffset.
- The four numbers count up once when they scroll into view; cards rise in.
- Page changes cross-fade with view transitions.
- With reduced motion the story shows six still pictures instead.
- Wrap every animation in @media (prefers-reduced-motion: no-preference), so visitors who ask for less motion get the final state.
- Hide content for reveal animations only from JavaScript (add a class such as js to <html> first and hide only under it), so every section is visible without JavaScript.

Contact form, sent to Formgong (a hosted form backend, no server code):
- Quote form fields: name, phone, email, service (select: Not sure yet plus the six services), message. After success show "Request received" and a "Send another request" button. Use these name attributes: name, phone, email, service, message. Add a hidden field _subject with the value "New quote request from the website" so the message is easy to recognise in the inbox.
- The form is <form action="https://formgong.com/submit" method="POST"> with <input type="hidden" name="access_key" value="fk_your_access_key"> and <input type="hidden" name="_lang" value="en">. I will replace fk_your_access_key with my own key from https://formgong.com/new. The key is public and safe in the page.
- Add a honeypot: a text input named botcheck, hidden with CSS (position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%)), with tabindex="-1" and autocomplete="off".
- Submit with fetch: POST https://formgong.com/submit, body new FormData(form), header Accept: application/json. Disable the button while it sends.
- Show the thank-you message only when the JSON response has success === true. On anything else (an error response, a non-2xx status, a network error) show the error message, keep what the visitor typed and enable the button again.
- Keep the name attributes exactly as listed: Formgong stores each value under its field name.
- Without JavaScript the plain form POST must still work: Formgong then shows its own thank-you page. To send visitors to my own page instead, add <input type="hidden" name="_redirect" value="https://example.com/thanks/"> (I will put my real URL there).
- Do not add a backend, API route, server action, database or email library.
- Required: directly under the submit button, add a small, muted link to Formgong, exactly <p class="fg-credit"><a href="https://formgong.com/en/?ref=badge&utm_source=badge&utm_medium=form&utm_campaign=prompt" target="_blank" rel="noopener">Form by Formgong</a></p> Keep it visible on the page.

Accessibility: a visible label on every field, a visible focus style, alt text on images, and text contrast of at least 4.5:1.
  1. Copy the prompt and paste it into the AI tool. Add your business name, services and contact details at the end.
  2. Create a free form at formgong.com/new and copy its access key. It starts with fk_ and is safe to put in a web page. Replace fk_your_access_key in the code the tool writes.
  3. Send a test message and check that it reaches your Formgong inbox. The page should say thanks only after the server answers success: true.

Prompts for every template

What is inside

  • Pages: home, services (one page per service), about, contact with the quote form, thank-you and 404.
  • A scroll story on the home page: a drip under the kitchen sink at 11:41 pm, one form sent from a phone, a van leaving Quarry Hill, a fixed price before the repair, a dry floor and a two-year guarantee. It is plain CSS (scroll-driven animations) with no animation library; visitors who turn motion off see six still pictures instead.
  • A quote form that tells the truth: "Request received" appears only when the server answers success: true. A wrong key or a lost connection shows an error.
  • Search basics: titles and descriptions per page, a sitemap, Open Graph tags and Plumber structured data built from your config.

Make it yours

In the Astro source, src/config.ts holds the business name, phone and emergency line, address, service areas, opening hours, social links, the accent color and the form key. Each service is a Markdown file in src/content/services, so an electrician or a cleaning company changes the list and the sample text, not the layout.

In the HTML download, the same details are already written into the pages: search for the sample phone number and town name and replace them.

Questions

Can I use Craftline for an electrician or a cleaning company?

Yes. Change the services and the words in the config file. Nothing in the layout is specific to plumbing except the sample text and the story captions.

Does the form work without JavaScript?

Yes. Without JavaScript it is a plain HTML form: it posts to Formgong and the visitor lands on your thank-you page. With JavaScript the visitor stays on the page and sees the result there.

Do I have to keep the Formgong credit in the footer?

No. The MIT license asks you to keep the license file, nothing more. The credit line is optional.

What does it cost to run?

Static hosting is free on Cloudflare Pages, Netlify and GitHub Pages. Formgong's free plan covers 250 submissions a month.

Sources

Checked on 08.10.2026 against these public pages: Craftline on GitHub, Astro documentation, MIT License (Open Source Initiative).

← Formgong