Kernel pop story
A corn kernel heats up and pops into popcorn in front of a giant POP as you scroll. Six flavor tins, gift boxes, and a flavor finder for phones.
In the package
Everything behind the demo
The prompts, the style guide, every image and the finished source, in one zip.
12 images
Made for this template, with the prompts that made them.
2 build prompts
.md# Kernel flavor finder: phone screenBuild one phone screen for **Kernel**, a small-batch popcorn kitchen in Portland that sells six flavors in 120 g tins ($9 each). The screen helps a visitor find a flavor: they slide between salty and sweet and pick how much heat they want, and the best match fills the top of the screen on its own color, with the tin, the name, and an add button. The other five flavors list below, ranked by how well they match. The screen is designed for a 390×844 viewport and must also work from 360 to 430px wide.## Style (hard constraints)Follow `style.md` exactly: tokens, type, shape, signature patterns (starburst stickers, color-block flavor cards, chunky press, wavy edge), 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/`, transparent PNGs, the subject roughly centered, 720px on the long side. Never draw popcorn, tins, or food in code.- `tin-sea-salt.png` (cream tin, white popcorn with salt flakes), `tin-brown-butter.png` (butter-yellow tin, glossy golden popcorn), `tin-chili-lime.png` (tomato tin, red-dusted popcorn with lime zest), `tin-white-cheddar.png` (pale blue tin, cheese-dusted popcorn), `tin-miso-caramel.png` (orange tin, amber caramel clusters), `tin-cinnamon-sugar.png` (pink tin, cinnamon sugar popcorn). Each tin has its lid leaning on its right side.## Flavor data
- flavor-finder.md
- pop-story.md
Style guide
A snack shop that behaves like a cartoon. One glossy golden corn kernel sits in front of a giant fat word on a bright cobalt stage, and scrolling heats it until it bursts into a fluffy piece of popcorn that covers the middle of the word.
Colors, fonts, corners, image style, motion and the don’ts.
kernel-popcorn-shop.zip
6.5 MB
Prompts, style guide, images and the finished HTML.
- Claude Code
- Codex
- Cursor
- v0
- Lovable
- Base44
Kernel flavor finder: phone screen
Build one phone screen for Kernel, a small-batch popcorn kitchen in Portland that sells six flavors in 120 g tins ($9 each). The screen helps a visitor find a flavor: they slide between salty and sweet and pick how much heat they want, and the best match fills the top of the screen on its own color, with the tin, the name, and an add button. The other five flavors list below, ranked by how well they match. The screen is designed for a 390×844 viewport and must also work from 360 to 430px wide.
Style (hard constraints)
Follow style.md exactly: tokens, type, shape, signature patterns (starburst stickers, color-block flavor cards, chunky press, wavy edge), 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/, transparent PNGs, the subject roughly centered, 720px on the long side. Never draw popcorn, tins, or food in code.
tin-sea-salt.png(cream tin, white popcorn with salt flakes),tin-brown-butter.png(butter-yellow tin, glossy golden popcorn),tin-chili-lime.png(tomato tin, red-dusted popcorn with lime zest),tin-white-cheddar.png(pale blue tin, cheese-dusted popcorn),tin-miso-caramel.png(orange tin, amber caramel clusters),tin-cinnamon-sugar.png(pink tin, cinnamon sugar popcorn). Each tin has its lid leaning on its right side.
Flavor data
Kernel pop story: popcorn shop landing page
Build one responsive landing page for Kernel, a small-batch popcorn kitchen in Portland, Oregon: heirloom corn popped in copper pots on Tuesdays and Fridays, six flavors in 120 g tins, gift sets, shipped in two days. The page opens on a pinned cobalt stage with the giant word "POP" in cream. A single golden kernel floats in the middle of the word. As the visitor scrolls, the kernel heats up, wobbles, cracks, and bursts in slow motion into one big fluffy piece of popcorn that covers the middle of the word. A heat readout climbs to 180 °C at the burst, and starburst stickers pop on. Below the stage: the six flavors, how it's made, gift tins, a row of numbers, FAQ, and the footer. A small "box" (cart) in the top bar counts what the visitor adds.
Style (hard constraints)
Follow style.md exactly: tokens, type, shape, the seven signature patterns (the word behind the snack, scroll pop, heat readout, starburst stickers, color-block flavor cards, chunky press, wavy edge), 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 popcorn, kernels, corn, tins, pots, bowls, boxes, food, or hands in code. Code draws the stage color, the giant word, stickers (flat SVG starbursts and circles), type, cards, the wavy edges, and UI icons (plus, minus, arrow, close, a simple box outline).
assets/pop/sequence.json: the frame manifest, for example{ "name": "pop", "frames": 185, "seconds": 3.88, "pad": 3, "desktop": { "path": "d/", "width": 1280, "height": 720 }, "mobile": { "path": "m/", "width": 720, "height": 720, "crop": { … } }, "backdrop": "#2864F5", "alpha": true, "pace": [0, 0.004, …] }. Read every value from it at runtime.assets/pop/d/001.webp… (desktop, the full 16:9 frame) andassets/pop/m/001.webp… (phones, a square crop of the center): the same clip. The cobalt backdrop has been keyed out: everything except the kernel and the popcorn is transparent, so the giant word behind the canvas shows around them.
Tokens
Butter Pop v1.0cobalt#2864F5
the pop stage and one more full band (the gift band); cream text on it at any size (4.6:1), butter text only at 24px and up (3.2:1)
cobalt-700#1B49C4
pressed states, links on cream (7.0:1), the footer (cream text 7.0:1)
butter#FFC93C
primary button fill (ink text 11.0:1), the giant word's highlight, small badges
cream#FFF6DC
the page background, the giant word on cobalt, text on cobalt and ink
tomato#FF5A4E
starburst stickers and sale chips, always with ink text (5.5:1); never text color on light backgrounds
sky#CFE0FF
cool tinted cards and sections (ink 12.7:1, ink-soft 6.9:1)
ink#101A3D
text on cream, butter, sky, tomato, and every flavor tint (15.7:1 on cream)
ink-soft#3A4670
body text on cream, sky, butter (8.5:1, 6.9:1, 6.0:1)
Style: Butter Pop (v1.0)
Direction
A snack shop that behaves like a cartoon. One glossy golden corn kernel sits in front of a giant fat word on a bright cobalt stage, and scrolling heats it until it bursts into a fluffy piece of popcorn that covers the middle of the word. Around it, flat and loud: butter-yellow buttons, tomato-red starburst stickers stuck on at an angle, chunky bubbly type, cream sections with color-block flavor cards. The 3D food is the only soft, shaded thing on screen; everything else is flat print color. Playful and hungry, never premium-dark, never cream-paper editorial.
Assets (mandatory)
All food and objects come from assets/: one pop frame sequence cut from a single continuous image-to-video clip (pipeline/scripts/ingest-sequence.mjs) with the flat cobalt backdrop keyed to transparency, plus transparent spots (tins, corn, kettle, gift box) in the same glossy 3D render. Never draw popcorn, kernels, tins, food, or hands in code; never animate the kernel with CSS; never cross-fade separately generated images of it. Code draws the stage color, the giant word, stickers (flat SVG starbursts and circles), type, cards, and UI.
Tokens
Color
| Token | Hex | Use |
|---|---|---|
| cobalt | #2864F5 | the pop stage and one more full band (the gift band); cream text on it at any size (4.6:1), butter text only at 24px and up (3.2:1) |
| cobalt-700 | #1B49C4 | pressed states, links on cream (7.0:1), the footer (cream text 7.0:1) |
| butter | #FFC93C | primary button fill (ink text 11.0:1), the giant word's highlight, small badges |
| cream | #FFF6DC | the page background, the giant word on cobalt, text on cobalt and ink |
| tomato | #FF5A4E | starburst stickers and sale chips, always with ink text (5.5:1); never text color on light backgrounds |
| sky | #CFE0FF | cool tinted cards and sections (ink 12.7:1, ink-soft 6.9:1) |
| ink | #101A3D | text on cream, butter, sky, tomato, and every flavor tint (15.7:1 on cream) |
| ink-soft | #3A4670 | body text on cream, sky, butter (8.5:1, 6.9:1, 6.0:1) |
Flavor tints (cards and tins only, always ink text): sea salt #FFF6DC cream with a 2px ink outline, brown butter #FFC93C, chili lime #FF5A4E, white cheddar #CFE0FF, miso caramel #FF9F43 (ink 8.3:1), cinnamon sugar #FFB8D2 (ink 10.5:1).
Rules:
- Text on cobalt is cream (or butter at 24px and up). Text on every other fill is ink. Never white text anywhere; never cream on butter, tomato, or a tint.
- At most one tomato sticker and one butter badge per viewport, plus the primary button.
- No gradients anywhere, except the edge mask that fades the canvas into the stage.
Type
- Display: "Bagel Fat One" (Google Fonts) 400 (it is one fat weight), letter-spacing -0.01em, line-height 0.86. The stage word is sized by the page to span about 88% of the stage width (92% on phones), about 46vw in this face, and never taller than 62% of the stage height; section titles
clamp(44px, 6vw, 96px), sentence case; prices and big numbers in it too. - Body and UI: "Schibsted Grotesk" 400/500/700/800, 17px/1.6. Subtitles on the stage 700
clamp(20px, 1.8vw, 28px), line-height 1.25. - Labels, sticker text, and readouts: Schibsted Grotesk 800, 13px, uppercase, letter-spacing 0.1em,
font-variant-numeric: tabular-nums. Never a monospace font. - Form controls set
font: inherit. - Headlines: hyphenated words use non-breaking hyphens (U+2011); phrases that must stay together use
white-space: nowrapspans.
Shape
- Radius: 999 (buttons, chips, inputs, stickers' pill variant), 32 (cards, panels), 0 on the pop stage.
- Buttons 54px tall, 28px padding, Schibsted Grotesk 800 16px. Primary: butter fill, ink text, 2px ink outline, a hard
0 4px 0 #101A3Dshadow that drops to0 1px 0when pressed (translateY 3px). Secondary: 2px current-color outline, transparent fill. - Cards: flat fills (cream, sky, butter, or a flavor tint), 2px ink outline, no soft shadow. A hard
6px 6px 0 #101A3Doffset shadow only on flavor cards on hover. - Hairlines 2px ink at 12% opacity on cream.
- Spacing (px): 4 · 8 · 12 · 16 · 24 · 32 · 48 · 72 · 112 · 160.
Text over footage
- The pop clip is generated on a plain cobalt backdrop with the kernel in the exact center. The popcorn grows to about half the frame height, centered, so subtitles, the readout, and stickers sit in the outer thirds or the top and bottom bands, never over the center.
- On phones the center crop is narrow; story copy sits in the bottom band, under the popcorn's lowest point.
- Never put a box or a blurred backdrop behind text to rescue it; move the text.
Signature patterns
- The word behind the snack. The stage is cobalt. A giant word (cream, Bagel Fat One) sits on it, behind the canvas. The clip's backdrop has been keyed to transparency, so the word shows everywhere except where the kernel and then the popcorn cover it. The popped piece covers the middle letter. Never put the word in front of the canvas, never fake the overlap with masks.
- Scroll pop. A pinned stage plays the frame sequence as the visitor scrolls, with a weighted lerp. Before the burst the word swells very slightly (scale 1 → 1.04), like held breath; at the burst frame it gives one quick squash (scale 1.04 → 0.97 → 1, 420ms) and the stage nudges 4px. Nothing else shakes.
- Heat readout. A row of tabular values that follow the frame on screen: the kernel's temperature (°C), the pressure inside it (atm), and a timer. Fixed-width digit slots, so nothing jitters. The temperature climbs to 180 °C at the burst and the pressure drops back to 1 right after.
- Starburst stickers. Flat SVG stars (12 to 16 points, tomato or butter fill, 2px ink outline) and round seals with ink text in the label style, stuck on at -12° to 12°. They pop in with a scale overshoot (0 → 1.12 → 1, 480ms). At most two on the stage at once.
- Color-block flavor cards. Each flavor sits on its own tint card with the tin spot breaking out of the top edge by about a quarter of its height, slightly rotated (-5° to 5°). The card name is set big in the display face.
- Chunky press. Every primary button and chip has the hard bottom shadow and visibly sinks when pressed.
- Wavy edge. Sections meet with a scalloped edge (a repeating row of half circles, 24px radius, drawn as a CSS
radial-gradientmask or an inline SVG), never a straight line, and only between two different fills.
Motion
- Scroll pop:
current += (target − current) × 0.16per animation frame; native scrolling only; no scroll-jacking or smooth-scroll libraries. - The canvas fades in (600ms) when its first frame is drawn.
- Reveals: bouncy but short. Rise 24px and fade, 640ms,
cubic-bezier(0.34, 1.4, 0.64, 1)(a small overshoot), 70ms stagger. Observers usethreshold: 0, no negative bottom rootMargin. - Subtitles swap with a 250ms fade-out, then a 500ms rise in (12px) with the same overshoot curve.
- Animate transform, opacity, and clip-path only (canvas drawing aside).
- Reduced motion: no pinning, scrubbing, sticker pops, or squash; the pop shows as three stills (kernel, burst, popped) with their subtitles, all 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
A small kitchen talking about its snacks: short, cheerful, specific. Real numbers (grams, batch sizes, days, degrees, prices) and real ingredients ("brown butter", "Maldon salt", "Tajín-style chili"). Puns at most once per page. No em dashes, no "X, not Y" lines, no slogan triplets.
Never
- Dark backgrounds with gold accents; cream paper with serif headings and mono labels
- Purple or blue gradients, glassmorphism, blur, glow, neon, soft drop shadows
- Inter, Roboto, Arial, or system fonts as the visible font; a second display font
- Emoji as icons or decoration; popcorn, kernels, tins, or food drawn in SVG or CSS (stickers and simple UI line icons only)
- The giant word placed in front of the kernel, or faked with clip masks
- Cross-fading separately generated images of the kernel or popcorn
- White text, or cream text on butter, tomato, or a flavor tint
- "Indulge", "elevate", "irresistible", "guilt-free", "crafted with love", "unleash"
pop-end.png558 KB
pop-start.png403 KB
spot-corn.png156 KB
spot-gift.png126 KB
spot-kettle.png142 KB
spot-toss.png122 KB
tin-brown-butter.png145 KB
tin-chili-lime.png144 KB
tin-cinnamon-sugar.png152 KB
tin-miso-caramel.png157 KB
tin-sea-salt.png132 KB
tin-white-cheddar.png147 KB
Image prompts
The prompts we used to make these images. Use them to make your own versions.
Loading the image prompts…

