Cut the name with a chisel
A house name drawn in pencil on slate, stone or brass that the visitor cuts letter by letter by dragging the chisel along it; ligatures close as each pair is cut.
Links in the preview stay on the block.
Open on its ownThe prompt
One prompt, written to stand on its own: goal, structure, type, colour, spacing, behaviour and the words in square brackets to replace. Paste it into any tool that writes HTML. The Code tab has this block as one file.
781 words
# Cut the name with a chisel One product tour section, not a whole page: build it to drop into a page that already exists. Works in Claude, v0, Lovable, Bolt, Cursor or any tool that writes HTML. ## Goal A product tour for a letter-cutting workshop: the visitor cuts a house name into the chosen material and sees the price, the time and the finish. ## Structure 1. section head: headline and one sentence 2. two columns: stage 5 of 8 with the sign, controls 3 of 8 3. sign: material photo face, an inset hairline border, the name in pencil outline, a steel chisel marker, a hint line 4. under the sign: a readout of letters cut and bench time, Cut the next letter and Start again, a note on joined pairs 5. tabs under the stage: The sign and Over the door 6. controls: four name chips, material segments with flat swatches, two size segments, Joined letters and Two lines switches, price and lead time, Enquire button ## Type Hento (a fine joined serif) for the name, chips and price; discretionary ligatures on. Ysabeau Office 400 and 600: 16px readout, 12px caps labels at 0.14em, 15px help. The name is fitted to 86 percent of the sign width by measuring at 100px, capped by height. ## Colour Page #EAEBE9, text #21262B (12.6:1), secondary #565C63. Slate face #3B4045 with white paint #F2F1EC, Portland stone #D9D4C7 with cut grey #3A3A37, brass #B8963F with black enamel #151515 and four flat fixing dots. Pencil is the letter colour at about 50 percent as a 1px outline. Steel marker #C9CED2 on slate, #2E3338 on stone and brass. Ligature marks pale blue under the letters. ## Spacing and lines Stage padding clamp(14px, 2.4vw, 36px) on #E2E0D9. Sign ratio 400:150 or 600:200; border inset 3.4 percent of its width. Marker 2px with a 12px wedge at the foot. Controls gap 24px, segments 52px tall, switches 56 by 32px. ## Behaviour Letters start as outlines. Dragging across the sign cuts every letter whose centre is behind the pointer and only ever cuts forward; the right and left arrows cut one more or one fewer, Home resets, End finishes; the button cuts the next letter and skips spaces. Each cut letter fills over 240ms; the marker moves to the last cut letter in 260ms (80ms while dragging). A joined pair is one span so the ligature still forms; its mark appears once it is cut. The readout counts letters and bench minutes and, when complete, names the finish for the material. A material change wipes the sign in from the left over 520ms. A new name starts again. ## Responsive Under 1024px the columns stack and the stage becomes sticky under the header so the cut stays in view while the controls scroll; the pairs note hides. Under 480px swatches hide and segment labels shrink. ## Accessibility The sign is a slider with aria-valuemin, max, now and a valuetext that repeats the readout; its label explains drag and keys. Tabs use role tab with arrow keys. Switches use role switch. Reduced motion: no wipe, instant fills. ## Built values (from code.html) - Fonts: Hento 400 (self-hosted: fonts/hento.woff2); Ysabeau Office 400 to 600 (self-hosted: fonts/ysabeau.woff2). Self-hosted files sit in fonts/ in the block download. - Colour variables: --portland #EAEBE9, --slate #21262B, --leaded #565C63, --hair #CFCDC6, --white #FFFFFF, --face-slate #3B4045, --cut-white #F2F1EC, --face-brass #B8963F, --enamel #151515, --face-stone #D9D4C7, --cut-grey #3A3A37. - Font variables: --serif "Hento", "Didot", Georgia, serif; --sans "Ysabeau Office", "Gill Sans", "Helvetica Neue", Arial, sans-serif. - Size variables: --s1 6px, --s2 12px, --s3 18px, --s4 24px, --s5 36px, --s6 54px, --s7 84px, --s8 132px. - Media queries: max-width 720px, max-width 1023px, max-width 480px, prefers-reduced-motion. - Media: assets/face-slate-900.webp (900x552), assets/face-stone-900.webp (900x720), assets/face-brass-900.webp (900x634), assets/door-900.avif (900x830), assets/door-900.webp (900x830). - Script: none, CSS only. ## Content to replace - [Names]: four house names that show the joins - [Materials]: three face photos and their finishes - [Prices]: base by size plus a rate per letter - [Copy]: headline, one sentence, lead times ## Rules Plain, specific copy that reads as a live product; never the word sample. No shadows, glow, glass, blur, gradient text, emoji or italics. Motion moves transform and opacity, with colour, border, height and stroke transitions on state changes, and holds its end state under prefers-reduced-motion. Text passes WCAG AA. ## Output Return the block in one piece: the markup, one style block with the web fonts imported on its first line, and a small script only if the behaviour needs one. No page wrapper, no framework, no build step. Prefix every class with `blk-` and put the colours and sizes in CSS variables at the top.
Media to supply
The photos and video on the live page are licensed for this showcase, so the code points at an assets folder instead. Drop your own files in with these names, or change the paths: door-900.avif, door-1400.avif, door-900.webp, door-1400.webp, face-slate-900.webp, face-stone-900.webp, face-brass-900.webp
More like this
Product tour
Same page







