Skip to content

Kilowatt

A website theme for solar panel and heat pump installers, in Astro and in Next.js with Sanity: a savings calculator as the first screen, systems with price and payback, grants, a page per finished project and a free roof check. 20 pages, 19 sections, light and dark, WCAG 2.2 AA.

Kilowatt home page on a phone, light mode
Kilowatt home page on a phone, dark mode

Theme for solar panel and heat pump installers, for Astro and Next.js + Sanity

What Kilowatt is for

The site for a solar panel or heat pump installer: what it would save, what it costs fitted and when it pays back, on the first screen, in two editions: Astro, or Next.js with a Sanity Studio. 20 pages, 19 sections and one preset, light and dark, WCAG 2.2 AA.

Home, solar panels, heat pumps, the savings calculator, a project, grants and the roof check, ready for your installer.

Every page as it ships, with the invented installer Rafter in Harrogate: solar panels, home batteries and heat pumps across North and West Yorkshire. Switch to dark to see the other mode, and click a page to see all of it.

Open the live demo (opens in a new tab)

As considered on a phone.

Every page is checked at phone width in both modes. On a phone the calculator comes first, the payback table scrolls inside its own frame, and the roof check is one short form with the postcode and house number first.

Home on a phone, light mode
Savings calculator on a phone, dark mode
Roof check on a phone, light mode

Two editions, one license

Static files or a Studio. Same design.

Both editions render the same pages from the same sections and presets, so you choose by who edits the site, not by how it looks. Your license includes both.

Framework
AstroAstro, static output
Next.js + SanityNext.js, App Router and React Server Components
Content
AstroProjects as Markdown files with a schema, the team and the company in JSON, page copy in typed files
Next.js + SanitySanity Studio with documents for projects (town, system, first year’s yield, price, saving, roof photo, review and story) and the team; the company and the page copy in one document each
The savings sum
AstroOne file, src/lib/solar.ts, behind every figure; change the prices and assumptions there
Next.js + SanityThe same sum in src/lib, run on the server and again in the browser
Demo content
AstroIn the repository
Next.js + SanityA seed script imports every project, person and image into your dataset
Publishing
AstroRebuild and deploy
Next.js + SanityPages generated ahead of time, refreshed within a minute or at once with the publish webhook
Preview
Astropnpm dev
Next.js + SanityDrafts beside the form in the Studio’s Presentation tool
Forms
AstroThe roof check and the contact form post to the addresses you set, or to an optional Cloudflare Worker that forwards them and fails closed without a destination
Next.js + SanityRoute Handlers that forward to your endpoint, fail closed without one and log no field values
JavaScript
AstroSmall scripts: the menu on phones, the light/dark switch, the calculator, the area filter and filling the roof check from the address
Next.js + SanityThe same small parts as client components; every page renders on the server
Lighthouse, mobile
Astro100
Next.js + Sanity98–100
Deploys to
AstroCloudflare Workers, Netlify, Vercel or any static host
Next.js + SanityVercel, or Cloudflare Workers through OpenNext
Repository
Astrothemesdev/kilowatt-astro
Next.js + Sanitythemesdev/kilowatt-next

What's inside

20 pages from 19 sections.

Each page is a short list of sections: the calculator, the systems, the fitting day, the steps, the heat pump comparison and the rest. One sum behind every figure works out the panels, the price, the saving and the payback, so the home page, the calculator, the payback tables and the project pages always agree.

Home
The savings calculator on a sun-yellow field beside the roof check and the review score, three systems with price and payback, the fitting day as a photo band, four dated steps, hybrid against all-electric heat pumps with the grant taken off, reviews near you and questions.
Solar panels
The systems with their prices and a payback table, so a visitor sees the years before they ask.
Heat pumps
Hybrid or all-electric, with prices before and after the grant and what a year’s heating costs.
Battery and charger
A home battery and a car charger, priced, with what each adds to the saving.
Savings calculator
The full calculator: a year’s use, the roof’s direction and shade, the number of panels, the price fitted, the yearly saving and the payback, with the payback grid and the assumptions written out.
How it works and grants
An installation hour by hour, from the roof check to switch-on, and the grants and schemes a homeowner can claim.
Projects
Finished installations by area with an area filter, and a page per project: the town, the system, its first year’s yield, the price and saving, the roof photo, the owners’ review and who fitted it.
About, contact and the roof check
The team and the company, a contact form, and the free roof check: address, what the price is for, the roof, the use and a system in mind.
The rest
A sample privacy page, the thank-you page and a 404.

One look, light and dark.

Everything a section draws comes from the preset’s tokens: colours, type, space and corners. Kilowatt is a white page with deep navy and a sun yellow, in Source Sans 3, light and dark. Change the tokens in one file and every page follows. Contrast is checked in both modes.

The demo home page in the Kilowatt preset
KilowattLight and darkA white page with deep navy text, a sun-yellow field for the calculator and every action, and Source Sans 3 throughout. Dark is the same navy as the ground, with the yellow kept for the calculator and the buttons.Source Sans 3

Checked, not promised

Accessible and fast, page by page.

These checks ran on every page of both editions, in light and dark, at desktop and phone widths.

WCAG 2.2 AA
Zero axe violations on all 20 pages, in light and dark, at desktop and phone widths, in both editions.
Fast on a phone
Lighthouse performance on mobile: 100 for the Astro edition, 98–100 for Next.js, on the home page, the calculator and a project. Every photo is served at twice its drawn size for sharp screens and at its own size for the rest.
Checked at 17 widths
The main pages measured from 320 to 5120 pixels in both modes, and looked over by a reviewer: no sideways scrolling, no clipped text.
A calculator that works without JavaScript
With scripts off the calculator shows a three-to-four-person house on a south roof, and the projects page lists every project. With them, the sum re-runs as the visitor changes the roof or the use.
Structured data for an installer
The company as an Organization and HomeAndConstructionBusiness with its rating, the systems, battery and charger as Products with Offers, FAQ, HowTo for the steps, each project as a Review, and breadcrumbs. A sitemap, llms.txt and Open Graph images.
Design rules, checked
Colours only from the preset, images with alt text and a size: pnpm lint holds every page to it, yours included.

Delivery

A zip, or straight from GitHub.

Download both editions from your account, or connect GitHub and get read access to the private repositories. Each release is one tagged commit, so updating is a pull.

After you accept the invitation
$ git clone git@github.com:themesdev/kilowatt-next.git
$ cd kilowatt-next && pnpm install
$ pnpm dev      # the demo content, until you connect Sanity
$ pnpm seed     # then import it into your own dataset
# a new release later
$ git pull --tags
  1. 01Buy a licensePay once. The license belongs to your organisation; owners and admins hand out the seats.
  2. 02Connect GitHubIn your account, sign in with GitHub once. We learn only your username, and invite it read-only to both repositories.
  3. 03Pull updatesUpdates are free for life. Access follows your license, and the zip stays in your account next to it.

Pay once. Both editions.

Unlimited projects, private, commercial and for clients, with every future update of both editions. Prices exclude VAT; we sell to businesses. License details

Solo
1 person
€49once

For a freelance developer, or an installer that builds its own site.

Choose Solo
TeamMost studios
Up to 5 people
€129once

A small studio building sites for installers: everyone gets their own seat.

Choose Team
Studio
Up to 15 people
€199once

An agency building sites for several clients.

Choose Studio
Company
Everyone in your company
€349once

No seats to count, ever.

Choose Company
Frank Spin
Making themes.dev since 2020

A registered Dutch company, KvK 01129853. Questions before you buy? Ask me.

Paying

Through Mollie: card, Apple Pay, iDEAL, Bancontact or PayPal. A proper invoice for every order, with EU reverse charge.

Updates

Galley 2.0.0 came out on . 27 releases across our themes in the last 30 days, all free for buyers.

Track record

400+ teams and developers have bought from themes.dev since 2020. Their licenses now live in their accounts here.

What's new

Updates for both editions, free.

Full changelog
  1. v0.1.0

    Not released yet

    The first build of Kilowatt, for solar panel and heat pump installers.

    Astro

    • Home: the savings calculator on the sun-yellow field beside the roof check and the review score, three systems with price and payback, the fitting day as a photo band, four dated steps, hybrid against all-electric heat pumps with the grant taken off and the grants, reviews near you, questions.
    • Solar panels with the payback table, heat pumps with a year's running costs, battery and car charger, the full calculator with the payback grid and its assumptions, how it works hour by hour, grants, projects by area and a page per project, about, contact and the free roof check form.
    • One sum (src/lib/solar.ts) behind every figure; a form Worker with tests.

    Next.js + Sanity

    • Every route of the Astro edition: home, solar panels, heat pumps, battery and charger, the savings calculator, how it works, grants, projects and a page per project, about, the free roof check, contact, privacy, the thank-you page and the 404; Open Graph images, llms.txt, robots.txt and the sitemap.
    • The menu on phones, the savings calculator, the projects page's area filter and the roof check's prefill run the Astro edition's scripts on the markup the server draws; the savings sum (src/lib/solar.ts, src/lib/heat.ts) is the Astro edition's, on the server and in the browser.
    • Sanity Studio: the Site and the page copy (one document each, with the steps, grants and questions), projects with their system, yield, price, review, installer and story, and the team. The Presentation tool and draft mode (redirects through the library's safeRedirect).
    • The demo content in seed/, written from the Astro edition's content (pnpm seed imports it); without a Sanity project the site reads it directly.
    1 more

Questions

Do I get both editions?

Yes. Kilowatt is one product: every license includes the Astro theme and the Next.js + Sanity edition, as a zip and as two private GitHub repositories. Use either or both in any project your license covers.

Which edition should I use?

The Astro edition if a developer keeps the site: projects are Markdown files and the output is plain static HTML on any host. The Next.js + Sanity edition if the installer’s own team adds finished installations: a project with its photo, yield and review in the Studio, with a live preview, and nobody touches code.

Are the prices, savings and grants real?

No. Rafter, its prices, yields, savings and scores are invented. The Boiler Upgrade Scheme, 0% VAT on energy-saving materials and the Smart Export Guarantee mentioned in the demo are real UK schemes, but their terms change, so check them before you publish. The sum in src/lib/solar.ts is a simple illustration: put in your own prices, yields and assumptions, and have them checked.

We only fit heat pumps, or only solar. Does it fit?

Yes. The home page, the systems and the calculator are all content: leave out the heat pump page and the comparison, or the battery and charger page, and the rest still reads as a whole. The calculator is for solar; a heat pump installer would replace it with the running-cost comparison.

What happens to the forms?

The roof check and the contact form are plain forms that work without JavaScript, with a hidden field that catches bots. In the Astro edition they post to the addresses you set: a form service, a CRM, or the optional Cloudflare Worker that forwards them. In the Next.js edition they post to the site, which forwards the fields to the address you set; without one it accepts nothing. Neither edition stores what people send.

Do I need a paid Sanity plan?

No. Sanity’s free plan is enough for this theme. The README walks you through the project, tokens and the seed script.

How does the GitHub access work?

In your themes.dev account, connect your GitHub account once by signing in with GitHub. You then get a read-only invitation to themesdev/kilowatt-astro and themesdev/kilowatt-next. Every release is a tagged commit there. Access follows your license: a seat you lose or a refund ends it. The zip stays in your account either way.

Can I build sites for clients with it?

Yes, in unlimited projects. A site you build with Kilowatt for an installer is theirs: they may own, host, edit and keep running it without a license of their own. They may not take Kilowatt out of that site to build other sites.

Can I see it before buying?

Yes. The live demo is the Astro edition with every page, and the screenshots on this page show them in light and dark. Rafter and everything in it is invented: the company, projects, prices, reviews, addresses and phone numbers. The photos are generated and show fictional people.

Do you charge VAT?

We sell to businesses. Dutch businesses pay 21% VAT; businesses elsewhere in the EU with a valid VAT number pay none (reverse charge); outside the EU there is no Dutch VAT. You get a proper invoice by email.

Is Kilowatt an official Astro, Next.js or Sanity product?

No. Kilowatt is made by themes.dev and builds on the open-source Astro, Next.js, Tailwind CSS and Sanity projects; it is not affiliated with them.

Put your roofs on Kilowatt.

From €49 for one person to €349 for your whole company. Both editions, pay once, lifetime updates.

KilowattFrom €49