Skip to content

Forecourt

A website theme for used-car dealers and dealer groups, in Astro and in Next.js with Sanity: a stock grid with a cash, finance and lease price switch, a page per car with the inspection and a worked finance example, part-exchange, finance, showrooms and a test-drive slot picker. 38 pages, 20 sections, light and dark, WCAG 2.2 AA.

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

Theme for used-car dealers and dealer groups, for Astro and Next.js + Sanity

What Forecourt is for

The site for an independent used-car dealer: what is in stock, what it costs a month, and whether it is a good one. Every car has a price switch between cash, finance and lease, in two editions: Astro, or Next.js with a Sanity Studio. 38 pages, 20 sections and one preset, light and dark, WCAG 2.2 AA.

Home, the stock, a car, finance, part-exchange, the showrooms, test drive and about, ready for your dealership.

Every page as it ships, with the invented dealer Cawood Motors: three showrooms in Leeds, Harrogate and York selling twenty-four cars of seven invented makes. 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 search card stays on the first screen, the stock is a single column of cards with the price switch above it, and every car keeps its monthly price and a one-tap call to the showroom.

Home on a phone, light mode
Used cars on a phone, dark mode
A car 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 7, static output
Next.js + SanityNext.js 16, App Router and React Server Components
Content
AstroCars, showrooms, people and reviews in JSON files with a schema; page copy in one typed file; the finance terms in the settings file
Next.js + SanitySanity Studio with documents for cars, showrooms, people and reviews; the dealer, its finance terms and its forms in the Site document
A large stock
AstroLoad cars from your dealer management system or stock feed with an Astro content loader; the pages stay the same
Next.js + SanityImport them into Sanity, or read your feed in the same queries
Demo content
AstroIn the repository
Next.js + SanityA seed script imports every car, showroom, person, review and image into your dataset
Publishing
AstroRebuild and deploy; remove a sold car by deleting its file
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
AstroContact, test drive, part-exchange valuation and car finder 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 price switch, the stock filters, the slot picker, the gallery and the finance calculator
Next.js + SanityThe same small parts as client components; every page renders on the server
Lighthouse, mobile
Astro99–100
Next.js + Sanity96–98
Deploys to
AstroCloudflare Workers, Netlify, Vercel or any static host
Next.js + SanityVercel, or Cloudflare Workers through OpenNext
Repository
Astrothemesdev/forecourt-astro
Next.js + Sanitythemesdev/forecourt-next

What's inside

38 pages from 20 sections.

Each page is a short list of sections: the search, the makes, the stock grid, the finder, part-exchange, the slot picker, the showrooms and the questions. Each car is one entry that names its showroom, so the same car shows in the stock, on its own page, on its showroom’s page and among similar cars.

Home
The search card and the review score on an ink panel, the makes with a count each, the stock grid with its price switch, the car finder, part-exchange, a test-drive slot picker, buying with finance or lease, the showrooms and the questions people ask.
Used cars
The whole stock with filters for make, body, fuel, price and showroom. Each card shows the cash price, and a switch turns every card to a monthly price on finance or on lease. The choice is kept in the address.
A page per car
A photo gallery, the price with a worked finance example, the specs and equipment, the service history, the 140-point inspection and what was fixed, the vehicle checks, the showroom, and similar cars. Structured data as a Car with its Offer.
Part-exchange
A registration and mileage form, a worked valuation as an example, and how the price held for seven days works.
Finance
Hire purchase, PCP and lease explained with a calculator. Every monthly figure on the site comes from the same few terms in one settings file.
Showrooms
A page per showroom with hours for each day, phones per department, the workshop services and the cars on the forecourt.
Test drive
Pick a car or ask for help choosing, a showroom, a day and a time slot.
About, contact and the rest
The family story, the inspection by area, the team and the reviews with the score; contact with a phone number per department; 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. Forecourt is a neutral page with ink and one signal green, with Exo for headings and prices and Nunito Sans for text, 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 Forecourt preset
ForecourtLight and darkA neutral off-white page with white cards, deep green-black text and ink pill buttons. The hero search and the part-exchange band sit on an ink panel, and a signal green marks the price check and the warranty card. Dark keeps the panels and the signal.Exo, Nunito Sans

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 38 pages, in light and dark, at desktop and phone widths, in the Next.js edition; the Astro edition renders the same pages and uses the same checks.
Fast on a phone
Lighthouse performance on mobile: 99–100 for the Astro edition, 96–98 for Next.js, on the home page, the stock and a car. 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 reviewers in four rounds: no sideways scrolling, no clipped text.
A stock list that works without JavaScript
Every car is in the page and the filters are a plain form, so the list works with scripts off. With them, the filters apply at once and the choice is kept in the address, so a link to “hybrids under £25,000” opens that list.
Structured data for dealers
The dealer as an AutoDealer with its rating, every car as a Product and Car with an Offer at the price the page shows, each showroom with its hours, the stock as an ItemList, questions 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/forecourt-next.git
$ cd forecourt-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 a dealer who builds their own site.

Choose Solo
TeamMost studios
Up to 5 people
€129once

A small studio building sites for car dealers: 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. v1.0.0

    Latest

    The first build of Forecourt, for independent used-car dealers and dealer groups.

    Astro

    • Home: the ink panel with the handover photo, the review score and the search card (total price or per month, make, model, price, year, with a live count), the makes with a count each, the stock grid with the price switch and the warranty card, the car finder, part-exchange on ink, the test-drive slot picker, buy, finance or lease, the three showrooms and questions.
    • Stock: filters for make, model, price or monthly budget, year, mileage, fuel, gearbox, body and showroom, a sort, the count and the price switch; every choice stays in the address.
    • A page per car: photo, price and monthly figure, the worked hire-purchase example, reserve and test drive, key specs, service history, the 140-point inspection, the vehicle checks, the showroom and similar cars.
    • Part-exchange with a worked valuation, finance (HP, PCP and lease with an example each, a calculator, the representative example), showrooms with a page each, test-drive booking, about and reviews, contact, privacy.
    1 more

    Next.js + Sanity

    • Every route of the Astro edition: home, the stock with its filters, a page per car, part-exchange, finance with its calculator, the showrooms and a page per showroom, test-drive booking, about and reviews, contact, privacy, the thank-you page and the 404; Open Graph images, llms.txt, robots.txt and the sitemap.
    • The price switch, the stock filters (with the choice in the address), the fold of the filters on phones, the hero search's count, the slot picker, the gallery and the finance calculator run the Astro edition's scripts on the markup the server draws.
    • Sanity Studio: the Site (with the finance terms) and the page copy (one document each), cars with their specs, photos, service history and inspection, showrooms with their hours and phones, people and reviews. 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. Forecourt 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 or the stock comes from a feed: the cars are data files or a content loader and the output is plain static HTML on any host. The Next.js + Sanity edition if staff add the cars themselves: a car with its price, photos and inspection in the Studio, with a live preview, and nobody touches code.

Does it work for lease or new cars, not just used?

Mostly yes. Each car has a cash price, and the price switch also shows a monthly figure on finance and on lease, worked out from the terms you set. Nothing in a car entry says it must be used, so nearly-new stock and lease deals fit. Forecourt does not have a car-rental or car-club booking flow.

Where do the monthly prices come from?

From a few terms in the settings file: the APR, the deposit share, the loan and lease terms, the lease factor and the PCP final payment. The theme works out every monthly figure from them, so one change updates every page. They are illustrations for your own terms, not a credit check or a quote from a lender.

Does the part-exchange form value a car from its registration?

No. The form collects the registration, the mileage, the service history and an email address and sends them to the address you set, and the page shows a worked example of a valuation. Connecting a real valuation service is up to you; the form’s fields are in the settings file.

We arrange finance. Is there anything about the regulator?

Yes. The footer and the finance page print a regulatory line from the settings file, and the demo uses a made-up one. Replace it with your own firm reference number and your commission disclosure; if you arrange finance in the UK you need both.

Can it show hundreds of cars?

Yes. In the Astro edition, load them from your stock feed with a content loader instead of the JSON files; the pages do not change. The stock page lists them with filters; the demo has twenty-four.

What happens to the forms?

The contact form, the test-drive booking, the part-exchange request and the car finder 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, your 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/forecourt-astro and themesdev/forecourt-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 Forecourt for a dealer is theirs: they may own, host, edit and keep running it without a license of their own. They may not take Forecourt 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. Cawood Motors and everything in it is invented: the dealer, the makes, the cars, the prices, the addresses and the regulator number. The photos are generated and show fictional people and cars.

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 Forecourt an official Astro, Next.js or Sanity product?

No. Forecourt 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 stock on Forecourt.

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

ForecourtFrom €49