Skip to content
HTML Templates For Developers

Documentation

Keystone — Real Estate Website Template

Version 1.0.0 · Vanilla HTML · 19 files · 177 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 19 files:

  • LICENSE.txt1.9 KB
  • README.md3.3 KB
  • assets/css/style.css42 KB
  • assets/fonts/manrope-LICENSE.txt4.3 KB
  • assets/fonts/manrope-latin-wght-normal.woff224 KB
  • assets/fonts/spectral-LICENSE.txt5.7 KB
  • assets/fonts/spectral-latin-400-italic.woff222 KB
  • assets/fonts/spectral-latin-400-normal.woff221 KB
  • assets/fonts/spectral-latin-500-normal.woff222 KB
  • assets/fonts/spectral-latin-600-normal.woff222 KB
  • assets/images/favicon.svg409 B
  • assets/js/main.js52 KB
  • documentation/index.html13 KB
  • documentation/licenses/lucide-LICENSE.txt3.1 KB
  • documentation/licenses/simple-icons-LICENSE.txt6.4 KB
  • index.html25 KB
  • listings.html23 KB
  • property.html23 KB
  • submit-property.html19 KB

Colours

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

  • --color-paper#f8f6f1
  • --color-white#ffffff
  • --color-sand#efeae0
  • --color-line#ddd6c6
  • --color-green#1b4332
  • --color-green-2#2d5d47
  • --color-green-ink#0f2a1f
  • --color-brass#b08d57
  • --color-brass-light#d6b880
  • --color-brass-ink#7a5c2b
  • --color-text#1d2a24
  • --color-muted#55615a
  • --color-danger#a4302a
  • --color-ok#1f6b45

Interactive features

Property data

Edit the PROPERTIES array at the top of assets/js/main.js. Each entry controls its card, map pin, property page and similar-homes ranking. Add a property by copying an entry with a new id.

Listings filters, sort and map

Filters read the controls in listings.html; add a feature by adding a checkbox named tag and a matching word in a property's tags array. Sorting options live in the SORTS table; pin positions are the x and y percentages on each property.

Property page

property.html shows the property named in the ?id= query, or the first entry. Link to it from any card as property.html?id=p03. Replace the static prose and floor plan with your own.

Mortgage calculator

Change TAX_RATE and INSURANCE_RATE in main.js for your market. Slider ranges and default values are attributes on the inputs in property.html.

Forms and photo upload

Forms marked data-form are validated by attributes (required, type, minlength, min, max). Replace the body of onValid() in main.js with a request to your backend; adjust MAX_PHOTOS and MAX_MB for uploads.

Customisation notes

Recolour the illustrations

House, interior and garden pictures are drawn by scene functions in main.js using the PALETTES array. Edit the five palettes, or give a property a different pal number.

Use real photography

Replace the data-scene elements with img tags, or change card() in main.js to output an img from a photo field on each property.

Change the city and brand

The agency, neighbourhood names and map labels are plain text in the HTML and in the map SVG in listings.html. Update the HOOD options in the filter selects to match.

Edit the map artwork

The map is an inline SVG in listings.html. Redraw the river, parks and labels, then move each property's pin by changing its x and y values.

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.

  • The enquiry form and the sell-your-home form validate in the browser and show a confirmation; nothing is sent or stored.
  • Property data is a bundled demo array; the saved-home hearts persist only in local storage when available.
  • The mortgage calculator gives an illustrative estimate with flat tax and insurance rates, not a quote.
  • Photo previews are generated locally and are never uploaded.

Bundled components and licences

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

  • Manrope typeface — OFL-1.1 (assets/fonts/manrope-LICENSE.txt)
  • Spectral typeface — OFL-1.1 (assets/fonts/spectral-LICENSE.txt)
  • Lucide icons (inlined SVG) — ISC (documentation/licenses/lucide-LICENSE.txt)
  • Simple Icons brand marks (inlined SVG) — CC0-1.0 (documentation/licenses/simple-icons-LICENSE.txt)

Changelog

Version 1.0.0 · Nov 23, 2026

  • Initial release.