Casa Bora
Fragrance product page template · Shops and makers
A quiet perfume house after dark: near-black aubergine ground, champagne metal, a refined serif, and a real-time glass bottle whose liquid colours the whole page.
The first screen is the bottle. It is rendered live in three.js: thick glass with real refraction and a little dispersion, a coloured liquid inside it as a second transmissive mesh, a brushed champagne cap and a soft contact shadow, all lit by a studio room environment. It turns slowly on its own, and you can drag it or focus it and turn it with the arrow keys. Choose Sale di Muggia, Torrefazione or Rosa di Carso and the liquid, the studio glow and the accent of the whole page glide to that perfume's colour.
Below the bottle the three perfumes are compared in one table, then each one's pyramid becomes a diagram: select a top, heart or base note to read its botanical source, origin and share of the formula, with arrow keys to walk the notes. The making is a real sixty-one day sequence drawn to scale, from weighing the concentrate to six weeks of maceration, chilling, filtering, resting and filling by hand. A four-question scent finder recommends one perfume and can show it in the bottle.
The discovery set builder takes exactly three of six vials, an engraving with a live preview on the drawn box label and optional gift wrap. The bag adds up bottles and sets with quantity steppers, free delivery over €150 or collection at the atelier, and the checkout validates inline before a loading, error or success state. Stockists filter by country; questions and the footer close the page. Without WebGL the bottle is a drawn SVG with the same colours.
The brand is fictional: Casa Bora, a three-perfume house in a room above a stationer's in Trieste, run by the perfumer Ilaria Vodopivec. Names, people and figures on the page are invented.
What works
- Bottle: auto-turns, drag to turn with inertia, arrow keys, Page Up and Down, and Home when focused (slider role with a spoken side and angle)
- Scent chooser: recolours the liquid, studio glow, label and page accent with a 900ms transition; updates prices, facts and the pyramid
- Size choice with live price on the add button; add to bag with a count bump in the header
- Scent pyramid: select a note to read its source, arrow keys and Home and End move between notes
- Scent finder: four questions one at a time, back, specific error when skipped, weighted result, show it in the bottle
- Discovery set: pick exactly three of six vials, swap message on a fourth, engraving with character count, validation and live label, gift wrap
- Bag: quantity steppers, remove, delivery and free-delivery hint, totals that follow courier or collection
- Checkout: inline validation with specific messages, loading, error with retry, success with order number, start again
- Stockists filter by country; questions accordion; newsletter sign-up with validation
States you can link to
script.js reads these from the URL, so you can open the page in a given state to review it, screenshot it or show it to an agent.
| Parameter | What it does |
|---|---|
?scent=torrefazione | opens on Torrefazione: amber liquid and accent. Open ?scent=torrefazione |
?scent=rosa | opens on Rosa di Carso: garnet liquid and rose accent. Open ?scent=rosa |
?bag=demo | a bag with Torrefazione 50 ml and an engraved, gift-wrapped discovery set (€197, free delivery). Open ?bag=demo |
?state=success | fills the demo bag and delivery form, submits and shows the reserved order. Open ?state=success |
?state=error | fills and submits, the payment page cannot be reached; submitting again succeeds. Open ?state=error |
?quiz=result | the scent finder answered, showing its recommendation. Open ?quiz=result |
?note=orris | selects a note in the pyramid (any note id of the current scent). Open ?note=orris |
?engrave=For%20Marta&wrap=1 | a discovery set with three vials, an engraved label and gift wrap in the preview. Open ?engrave=For%20Marta&wrap=1 |
?nogl | skips WebGL and shows the drawn SVG bottle. Open ?nogl |
Use it
Copy templates/perfume/ into your project, or download the zip, which has the Screenery badge script already removed. Colours, type, spacing and radii are custom properties at the top of style.css. This template loads no libraries: only its own files and web fonts.
The docs explain the token pattern and how to move a template into React, Vue, Svelte or Astro. The guide has prompts for handing it to a coding agent.
Inspection
Loaded in Chromium 156.0.8078.4 (Playwright, headless) on 27 November 2026 at 1440, 1024, 768, 390 pixels wide and once more with reduced motion requested. Every check passed at every width.
- 1440 px
- Pass
- 1024 px
- Pass
- 768 px
- Pass
- 390 px
- Pass
- Reduced motion
- Pass
- Page weight
- 379 KB, 11 requests
Requests and transferred size were measured at 1440 pixels on a cold cache and include web fonts and any CDN library. The full result is in the viewer: open the Checks panel. How templates are checked.