Popwell pop-up story
A pop-up book that opens as you scroll. A paper town stands up, then the book folds flat again.
Gallery
In the package
Everything behind the demo
The prompts, the style guide, every image and the finished source, in one zip.
10 images
Made for this template, with the prompts that made them.
1 build prompt
.md# Popwell pop-up story: scroll-story landing pageBuild one responsive landing page for **Popwell**, a subscription that mails one pop-up book a month to kids aged 4 to 8. Books are picked for three age bands (4-5, 6-7, 8). Plans are 3, 6, or 12 months, paid up front, with free shipping. The page opens on a pinned sky-blue stage: as the visitor scrolls, a closed red pop-up book opens and a paper town stands up in layers, tape labels name the paper parts, and then the same frames play backward so the book folds shut. Below the stage: how it works, this month's book, an age picker, a gift option, pricing, and a FAQ.## Style (hard constraints)Follow `style.md` exactly: tokens, type, shape, the five signature patterns (pop-up on scroll, tape labels, paper stack cards, cut edges, stamp price), motion rules, and the "Never" list. If anything here seems to contradict the style, the style wins.## Assets (the only images you may use)All in `assets/`. Never draw books, buildings, trees, animals, people, or scenery in code; code draws the UI: paper sheets, tape strips, cut edges, stamps, leader lines, type, and controls.- `assets/popup/sequence.json`: frame manifest, for example `{ "name": "popup", "frames": 144, "seconds": 6.15, "pad": 3, "desktop": { "path": "d/", "width": 1600, "height": 900 }, "mobile": { "path": "m/", "width": 960, "height": 675, "crop": { "x": 0.1, "y": 0, "w": 0.8, "h": 1 } }, "backdrop": "#90D4FF", "pace": [0, 0.0028, 0.0072, …, 1] }`. Read every value from it at runtime.- `assets/popup/d/001.webp` … (desktop, the full 16:9 frame) and `assets/popup/m/001.webp` … (phones, a crop of the middle 80% of the same frames; `mobile.crop` says which part of the full frame it shows). The frames are opaque: the book on a flat sky-blue table whose color is exactly `backdrop`.
- popup-story.md
Style guide
A children's pop-up book you can scroll. Everything looks cut from bright cardstock: a book on a sky-blue table opens and a little paper world stands up in layers, then folds flat again.
Colors, fonts, corners, image style, motion and the don’ts.
popwell-popup-books.zip
16.9 MB
Prompts, style guide, images and the finished HTML.
- Claude Code
- Codex
- Cursor
- v0
- Lovable
- Base44
Popwell pop-up story: scroll-story landing page
Build one responsive landing page for Popwell, a subscription that mails one pop-up book a month to kids aged 4 to 8. Books are picked for three age bands (4-5, 6-7, 8). Plans are 3, 6, or 12 months, paid up front, with free shipping. The page opens on a pinned sky-blue stage: as the visitor scrolls, a closed red pop-up book opens and a paper town stands up in layers, tape labels name the paper parts, and then the same frames play backward so the book folds shut. Below the stage: how it works, this month's book, an age picker, a gift option, pricing, and a FAQ.
Style (hard constraints)
Follow style.md exactly: tokens, type, shape, the five signature patterns (pop-up on scroll, tape labels, paper stack cards, cut edges, stamp price), motion rules, and the "Never" list. If anything here seems to contradict the style, the style wins.
Assets (the only images you may use)
All in assets/. Never draw books, buildings, trees, animals, people, or scenery in code; code draws the UI: paper sheets, tape strips, cut edges, stamps, leader lines, type, and controls.
assets/popup/sequence.json: frame manifest, for example{ "name": "popup", "frames": 144, "seconds": 6.15, "pad": 3, "desktop": { "path": "d/", "width": 1600, "height": 900 }, "mobile": { "path": "m/", "width": 960, "height": 675, "crop": { "x": 0.1, "y": 0, "w": 0.8, "h": 1 } }, "backdrop": "#90D4FF", "pace": [0, 0.0028, 0.0072, …, 1] }. Read every value from it at runtime.assets/popup/d/001.webp… (desktop, the full 16:9 frame) andassets/popup/m/001.webp… (phones, a crop of the middle 80% of the same frames;mobile.cropsays which part of the full frame it shows). The frames are opaque: the book on a flat sky-blue table whose color is exactlybackdrop.- Clip timeline: 0 to about 1.6 s the cover lifts and swings left; 1.6 to 3 s the pages open and the houses, trees, and fence stand up; 3 to 5.8 s the balloon and then the three clouds rise on their struts; from 5.8 s to the end everything is still.
Tokens
Paper Pop v1.0sky#8FD4FF
the story stage, the table the book lies on (ink text 8.8:1)
sky-50#EAF7FF
tinted sections and cards (ink 13.0:1, ink-soft 6.7:1)
tomato#FF5A4E
the brand color: primary buttons, one big accent per section (ink text 4.6:1)
tomato-600#D23A2F
panels that carry white text (white 4.8:1)
sun#FFC93C
tape strips, highlights, the selected state (ink 9.2:1)
sun-50#FFF6D9
tinted cards (ink 13.1:1)
grass#3DBE6B
"included" ticks, success, a second accent (ink 5.9:1)
grass-600#1F7A43
white-text badges (white 5.4:1)
pink#FF9FCB
tape strips and the gift section (ink 7.5:1)
pink-50#FFEFF6
tinted cards (ink 12.7:1)
ink#1E2A4A
text, outlines, the second paper layer under white cards (14.1:1 on white)
ink-soft#4A5677
body text on white and -50 tints (7.3:1, about 6.7:1); on sky or sun only at 18px and up (4.5:1, 4.7:1)
paper#FFFFFF
cards and sheets
Style: Paper Pop (v1.0)
Direction
A children's pop-up book you can scroll. Everything looks cut from bright cardstock: a book on a sky-blue table opens and a little paper world stands up in layers, then folds flat again. The UI around it is made of the same stuff: cards that sit on a second sheet of colored paper, labels on strips of tape, price tags with stamped edges, wavy cut edges between sections. Bright, simple, made by hand, and tidy enough that a parent trusts it.
Assets (mandatory)
Every picture comes from assets/: one frame sequence cut from a single image-to-video clip of the book opening (pipeline/scripts/ingest-sequence.mjs), plus paper-craft stills and transparent spots made in the same style. Never draw books, buildings, trees, animals, people, or scenery in code, and never cross-fade separately generated images of the book. Code draws the UI: paper sheets, tape strips, cut edges, stamps, type, and controls.
Tokens
Color
| Token | Hex | Use |
|---|---|---|
| sky | #8FD4FF | the story stage, the table the book lies on (ink text 8.8:1) |
| sky-50 | #EAF7FF | tinted sections and cards (ink 13.0:1, ink-soft 6.7:1) |
| tomato | #FF5A4E | the brand color: primary buttons, one big accent per section (ink text 4.6:1) |
| tomato-600 | #D23A2F | panels that carry white text (white 4.8:1) |
| sun | #FFC93C | tape strips, highlights, the selected state (ink 9.2:1) |
| sun-50 | #FFF6D9 | tinted cards (ink 13.1:1) |
| grass | #3DBE6B | "included" ticks, success, a second accent (ink 5.9:1) |
| grass-600 | #1F7A43 | white-text badges (white 5.4:1) |
| pink | #FF9FCB | tape strips and the gift section (ink 7.5:1) |
| pink-50 | #FFEFF6 | tinted cards (ink 12.7:1) |
| ink | #1E2A4A | text, outlines, the second paper layer under white cards (14.1:1 on white) |
| ink-soft | #4A5677 | body text on white and -50 tints (7.3:1, about 6.7:1); on sky or sun only at 18px and up (4.5:1, 4.7:1) |
| paper | #FFFFFF | cards and sheets |
Rules:
- Text on sky, sun, pink, grass, and tomato is ink. White text only on ink, tomato-600, and grass-600. Never white on tomato (3.1:1).
- One accent color per section plus its -50 tint for big areas (backgrounds, buttons, stamps). The small things may mix: tape strips use sun or pink anywhere, and the offset sheets under a row of paper stack cards may cycle sun, pink, and grass.
- No gradients at all, except the frame edge mask on the stage canvas.
Type
- Display: "Fredoka" (Google Fonts) 600, letter-spacing -0.01em, line-height 1.0. Hero title
clamp(64px, 8vw, 128px); section titlesclamp(36px, 5vw, 60px). - Body and UI: "Nunito" 500/700/800, 18px/1.6 body; buttons Nunito 800 17px.
- Numbers and prices: Fredoka 600 with
font-variant-numeric: tabular-nums. - Labels: Nunito 800 13px uppercase, letter-spacing 0.08em.
- Form controls set
font: inherit.
Shape
- Radius: 999 (buttons, chips), 20 (cards), 32 (big panels). Paper has crisp corners on tape and stamps.
- Paper stack (cards): the card sits on a second sheet in ink or an accent, offset 6px right and 6px down, drawn with a
::beforebehind it (not a blurred shadow). On hover the card lifts 3px and the offset grows to 9px. - Paper shadow (the only shadow allowed, for things that float):
0 2px 0 rgba(30,42,74,.18), 0 10px 18px -8px rgba(30,42,74,.25). - Buttons: 2px ink outline and a hard ink offset
0 4px 0 #1E2A4A; on press they move down 4px and the offset goes to 0. - Spacing (px): 4 · 8 · 12 · 16 · 24 · 32 · 48 · 72 · 112 · 160.
Text over illustrations
- The stage frames are planned with free zones (left and right of the book, and the space above the closed book). Text sits only inside zones that stay free for every frame it is shown on.
- Never rescue a sentence with a box behind it; move it to a free zone or under the picture.
Signature patterns
- Pop-up on scroll. A pinned sky-blue stage plays the book sequence as the visitor scrolls: closed, opening, the paper scene standing up, then (by playing the same frames backward over the second half of the story) folding shut. Never cross-fade images to fake this.
- Tape labels. Short labels sit on a strip of tape: sun or pink with no outline, ends cut in a small zigzag with
clip-path, rotated -4° to +4°, ink text in the label style. At most two per viewport, except the numbered tags on the open book: there, one tape per paper part with a thin ink leader line, up to five. - Paper stack cards. White or -50 cards on an offset second sheet (see shape).
- Cut edges. Sections meet on a wavy cut edge: an SVG path 24px tall, one smooth wave every 120px, filled with the next section's color, as if the sheet was cut with scissors. One edge per section boundary, never on cards.
- Stamp price. Prices sit in a round stamp: a circle with a scalloped edge (a
clip-pathpolygon with 24 bumps) in sun or tomato with ink text.
Motion
- Scroll-linked frames follow with a lerp of 0.18 per animation frame; native scrolling only.
- Reveals: rise 24px and fade, 600ms,
cubic-bezier(0.34, 1.4, 0.64, 1)(a small paper bounce), 80ms stagger,threshold: 0. - Hover on cards: lift 3px, offset sheet grows; press: down 4px, 90ms.
- Tape labels on the stage: unroll in with
clip-path: inset(0 100% 0 0)toinset(0)over 350ms, 80ms stagger. - Animate transform, opacity, and clip-path only (canvas drawing aside).
- First paint: the first sequence frame is preloaded (
fetchpriority="high") and drawn as soon as it decodes, so the book is there with the hero and never pops in after the page loads. - Reduced motion: no pinning or scrubbing; show the closed and the open frames as two stills, labels as a list; everything visible.
- Fonts never block or flash: preconnect to
https://fonts.gstatic.com(crossorigin), load the Google Fonts stylesheet withmedia="print" onload="this.media='all'"(plus a<noscript>copy), and place no<script>after it in<head>. - Closed overlays are hidden with
visibility: hiddenordisplay: none, not onlyopacity: 0.
Copy voice
Written for a parent, with a wink for the kid reading over their shoulder. Short sentences, concrete things (pull-tabs, spreads, ages, how many pages), no baby talk. Say what happens at bedtime.
Never
- Gradients (besides the canvas edge mask), glassmorphism, glow, neon, blur
- Dark mode with gold accents; cream paper with serif and mono labels as the whole look
- Inter, Roboto, Arial, Comic Sans, or system fonts as the visible font
- Emoji as icons; drawing books, scenery, animals, or people in SVG or CSS
- Blurred soft drop shadows on every card (use the paper stack)
- Cross-fading separately generated images of the book
- "Magical", "unlock", "spark imagination", "journey", "adventure awaits"
age-big.png499 KB
age-little.png540 KB
age-middle.png433 KB
book-closed.png1.3 MB
book-open.png1.6 MB
gift-box.png486 KB
month-lighthouse.png1.0 MB
spot-parcel.png506 KB
spot-pulltab.png417 KB
spot-shelf.png569 KB
Image prompts
The prompts we used to make these images. Use them to make your own versions.
Loading the image prompts…

