StealThis .dev

Interior — Moodboard

A warm editorial moodboard workspace where you drag material swatches, furniture and finish tiles freely across a paper canvas, layer them front to back, and watch a live palette strip derive its five dominant tones from whatever sits on the board — add, duplicate or remove tiles to compose a room story.

Open in Lab
html css vanilla-js
Targets: JS HTML

Code

The moodboard opens on a soft paper canvas scattered with tactile tiles — oak and walnut finishes, plaster and terracotta swatches, a linen sofa, a rattan pendant. Grab any tile with the mouse or a touch and it lifts, casting a deeper shadow while you slide it into place; the last tile you touch rises to the top of the stack so overlapping compositions stay editable. A trim of tools along the side lets you drop new material chips onto the board, duplicate the selected tile, send it backward, or clear the surface entirely.

Beneath the canvas a live palette strip recomputes on every change, sampling the colour of each tile currently on the board and collapsing it into the five most present tones — the story of your room, at a glance. Each palette chip copies its hex to the clipboard on click, so the board doubles as a spec sheet.

Everything is keyboard reachable: focus a tile and nudge it with the arrow keys, press Delete to remove it, or Enter to raise it. The layout reflows to a single narrow column under 520px, tools wrap, and the canvas keeps its generous editorial whitespace with thin walnut rules and a muted natural palette throughout.