Skip to content
HTML Templates For Developers

Documentation

Oakhaus — Furniture Store Template

Version 1.0.0 · Vanilla HTML · 15 files · 135 KB

Back to the template

Getting started

  1. Unzip the download and open index.html in a browser. No server, installation or build step is needed.
  2. Edit the text directly in the HTML files.
  3. Change colours, fonts and spacing through the CSS custom properties at the top of assets/css/style.css.
  4. Replace the artwork in assets/images/ with your own images.
  5. Upload the whole folder to any static host.

File structure

The download contains these 15 files:

  • LICENSE.txt1.8 KB
  • README.md2.8 KB
  • assets/css/style.css26 KB
  • assets/fonts/josefin-sans-LICENSE.txt4.5 KB
  • assets/fonts/josefin-sans-latin-wght-normal.woff228 KB
  • assets/fonts/libre-baskerville-LICENSE.txt4.4 KB
  • assets/fonts/libre-baskerville-latin-wght-italic.woff231 KB
  • assets/fonts/libre-baskerville-latin-wght-normal.woff233 KB
  • assets/images/favicon.svg299 B
  • assets/js/main.js35 KB
  • documentation/index.html11 KB
  • documentation/licenses/lucide-LICENSE.txt3.1 KB
  • index.html17 KB
  • product.html9.9 KB
  • shop.html8.9 KB

Colours

These custom properties are defined at the top of the stylesheet. Change a value once and it updates everywhere it is used.

  • --cream#faf7f2
  • --cream-2#f1ebe0
  • --walnut#5c4033
  • --walnut-deep#3d2a21
  • --sage#a3b18a
  • --sage-deep#5f6f48
  • --ink#2b211c
  • --muted#6f625a
  • --line#e0d6c6

Interactive features

Catalogue

Edit PRODUCTS, FINISHES and ROOMS at the top of assets/js/main.js. Each product lists a drawing type, rooms, finishes, price and dimensions in cm.

Shop filters

Room and material checkboxes are generated from ROOMS and the finish families; the price slider maximum is maxPrice in initShop.

Finish swatches

Add a finish to FINISHES with a hex colour and family, then list its name in a product. The drawing and room scene retint automatically.

Delivery estimator

Demo logic only. Edit the ZONES array (postcode area pattern, working days, charge) and FREE_OVER in main.js, or replace the submit handler with a call to your courier API.

Cart drawer

Lines persist in localStorage when available. Replace the demo checkout button with a link to your real checkout.

Customisation notes

Adding furniture drawings

Each drawing is a function in the DRAW object returning SVG for a 400 x 320 box with the floor at y = 280. Add a key and use it as a product type.

Room scenes

scene() composes a wall, window, floor, rug and items. Edit the item lists in initHome to restyle the hero and room tiles.

Currency

The money() helper formats pounds. Change the symbol and locale there to switch currency.

What is front-end only

This is a front-end template. The behaviours below are demonstrations that run in the browser; connect them to your own server or service before relying on them.

  • Delivery estimator uses sample rules based on the postcode area, not real courier data
  • Newsletter form validates in the browser only; nothing is sent
  • Checkout in the cart drawer is a labelled demonstration; no payment is processed
  • Products, prices and the showroom address are invented demo data

Bundled components and licences

Everything the template needs is inside the download; nothing is loaded from the network.

  • Josefin Sans typeface — OFL-1.1 (assets/fonts/josefin-sans-LICENSE.txt)
  • Libre Baskerville typeface — OFL-1.1 (assets/fonts/libre-baskerville-LICENSE.txt)
  • Lucide icons (inlined SVG) — ISC (documentation/licenses/lucide-LICENSE.txt)

Changelog

Version 1.0.0 · Nov 24, 2026

  • Initial release.