Skip to content
HTML Templates For Developers

Greenbasket — Grocery Store Template

A playful online grocery template with delivery slots, weekly deals, a recipe block and a basket drawer that tracks free delivery and books a slot.

PremiumVanilla HTMLMulti-page
Greenbasket — Grocery Store Template — template preview

Live preview

This is the actual template running in a sandbox, shown at 1280px wide.

Description

Greenbasket is a two-page grocery store in a bright, sticker-like style: thick green outlines, hard offset shadows, a cream background and sunny yellow highlights, all set in rounded Nunito. Every product, from rainbow carrots to cold-pressed juice, is an original flat SVG illustration on a colour-coded aisle tile.

The home page leads with a delivery-slot banner and a postcode check, scrolling aisle chips, a weekly deals band and a recipe block whose ingredients go into the basket in one click. The shop page adds an aisle sidebar, live search, dietary filters and four sort orders, with a stepper on each card that replaces the Add button once an item is in the basket.

The basket is a persistent drawer on both pages. It remembers its contents between visits, shows an item count and subtotal in a floating bar, tracks progress to free delivery with a little truck on a meter, and includes a delivery-slot picker for the next four days. Checkout is clearly labelled as a demonstration and takes no payment.

Key features

  • Delivery-slot banner on the home page showing the next free window
  • Postcode check form with validation and a clearly labelled demo result
  • Aisle chips and an aisle sidebar that filter the shop
  • Weekly deals band with sticker badges and was/now prices
  • Recipe block that adds all its ingredients to the basket in one click
  • Quantity steppers on every product card replacing the Add button
  • Persistent basket drawer with focus trap, Escape to close and saved contents
  • Free-delivery progress meter with a moving truck marker
  • Delivery-slot picker with four days, three windows and full slots disabled
  • Live search, dietary filters and sort on the shop page
  • Unit price shown on every product, such as $6.00 / kg
  • Twenty-one original SVG food illustrations

Front-end template: what is demonstration only

  • Checkout is a demonstration: it confirms the basket and slot but takes no payment and places no order.
  • The postcode check accepts any valid-looking postcode and stores nothing.
  • Slot availability is generated from the current date; every fourth window is marked full.
  • Products, prices and stock are fictional.

What is included

Pages and sections

  • index.html — Home
  • shop.html — Shop
  • Announcement bar and header with slot pill
  • Delivery-slot hero with postcode check
  • Aisle chips
  • Weekly deals
  • Recipe idea
  • How it works
  • Shop sidebar, search and sort
  • Product grid with steppers
  • Basket drawer with slot picker
  • Footer

Framework

Plain HTML5, CSS3 and JavaScript. No framework, no build step — open index.html and edit.

Bundled open-source components

  • Nunito typeface (OFL-1.1)
  • Lucide icons (inlined SVG) (ISC)

Everything is inside the download with its licence. Nothing loads from a CDN.

Supported browsers

Chrome, Edge, Firefox, Safari, Opera

Current versions. Checked in Chromium at desktop, tablet and phone widths.

Files in the download (11) · 77 KB ZIP
  • LICENSE.txt1.7 KB
  • README.md2.7 KB
  • assets/css/style.css22 KB
  • assets/fonts/nunito-LICENSE.txt4.4 KB
  • assets/fonts/nunito-latin-wght-normal.woff238 KB
  • assets/images/favicon.svg329 B
  • assets/js/main.js18 KB
  • documentation/index.html11 KB
  • documentation/licenses/lucide-LICENSE.txt3.1 KB
  • index.html32 KB
  • shop.html58 KB

Includes a README, a documentation page with customisation notes, and the licence text.

Read the documentation

Changelog

  1. Version 1.0.0 Nov 24, 2026Current

    • Initial release.

Licence

Regular Licence. One purchase covers one end product — a website, application or email programme for you or one client. You may modify the template freely; you may not redistribute or resell the template itself. Updates are free.

Read the full licence terms

Customer reviews

No reviews yet. Reviews come only from customers who have downloaded or bought this template.

Write a review