Case study · Webstore template
Credenza: a whole store in one file.
A refined, editorial shop for independent publishers and small-batch makers, without the weight of a full e-commerce platform. The store, its styles and every interaction live in a single HTML file. Put it on any static host and it works.
- First made for
- Hermit Books
- What we did
- Strategy, design, build
- Built with
- HTML, CSS, vanilla JavaScript, Speculum design tokens
The brief
Closer to a gallery than a marketplace.
Hermit Books needed a shop for books, zines, prints and objects that felt calm and considered. The name sets the tone: credenza comes from the Italian for trust, and is the sideboard where a household once set out its best things. Quiet confidence, nothing extra.
We set ourselves constraints on purpose:
- One file. The store, its styles and its behaviour all live in one
index.html. - No framework. Plain JavaScript only: no React, no Vue, no bundler.
- Speculum tokens. Easing curves, durations, radii and type scale all come from the design system.
- One typeface. Inter, as a single variable font, does all the typographic work.
- Five colours. Cream to ink, and nothing else.
Palette
Colours from the bindery.
Each colour comes from bookbinding: the warm stone of deckle-edged paper, the muted mauve of linen cloth, the deep ink of a letterpress impression. Every one has a job.
- Cream
#FAF9F6Background, breathing room - Lavender
#E9E6E8Surfaces, image wells - Stone
#C2BFBCBorders, quiet accents - Mauve
#B8A9B7Accent, hover states - Ink
#211924Text, main actions
Design decisions
Calm at rest, alive to attention.

Product cards
White cards with generous padding and no shadow at rest. The shadow and a slight lift only appear on hover, so the grid stays calm until you show interest. Each card has a 5:6 image well, the product name over the image, a type badge, the maker and price, and a full-width pill button to add it to the bag.

A magnetic pull
Buttons and cards lean gently toward the cursor. Buttons move and scale within a 100px zone; cards move a little less, so the grid never feels jumpy. It switches off for anyone who prefers reduced motion.

The words in motion
A full-width band slides oversized type across the screen as you scroll: sell things, look good, skip the bloat, ship today. It's the store's promise, and a breather between product sections.

A three-step checkout
The bag opens into a full-page checkout: shipping, then payment beside an itemised summary, then a confirmation with an order number and delivery estimate. A frosted header with numbered steps stays in view the whole way, and the bag clears when the order is done.
How it's built
Craft without the bloat.
About 2,400 lines of structure, style and behaviour in one file, plus a separate landing page. No build tools, no package.json, no node_modules.
-
Motion
Every transition uses Speculum's easing and duration tokens: a standard ease, a spring for playful overshoots, and matched curves for things entering and leaving. Content reveals as it scrolls into view, in a gentle stagger.
-
Accessibility
Semantic HTML, labelled regions and a labelled checkout dialog. Cards and sliders work with the keyboard. A 3px focus ring with a 3px offset, and all motion respects reduced-motion settings.
-
Performance
No outside JavaScript at all, and one font request. Theming runs on CSS custom properties, scroll and pointer listeners are passive, and lightweight SVG placeholders stand in for images.
Outcome
Designed, not templated.
Credenza shows that a polished, interactive shop can live in a single file without giving up on craft. The editorial tone, considered motion and five-colour palette give an independent publisher's catalogue the setting it deserves, and the same template is ready for the next maker.
- Store page
- 1
- Landing page
- 1
- Dependencies
- 0
- Frameworks
- 0
- Colours
- 5
Want a shop that feels like this?
Tell us what you sell. We'll talk it through and tell you plainly whether Credenza, or something else, is the right fit.
