Contents
New sections · wave 1
Scroll story, bento grid, hero product switcher, reels wall, drop / launch — new sections for every demo.
Ideas from the section research — live prototypes: Scroll story · Bento grid · Hero product switcher · Reels wall · Drop / launch.
| # | Section | P | Reference | Spec in brief |
|---|---|---|---|---|
| S12 | Scroll story | P1 | Apple AirPods Pro “Take a closer look”, Osmo “Step-by-step timeline” | A sticky frame on one side, a timeline on the other: a line that fills as the page scrolls, numbered markers, the current step bright, passed dimmed, upcoming faint; each step has its own frame. The last step can sell the product (variant chips, price, Add to cart). Breakdown below. |
| S13 | Bento grid | P1 | Apple MacBook Air “Get the highlights” | 4-column grid, auto-rows 220px; block types: image, product (card + Add), stat (large number + caption), quote (review), video loop (muted), collection (link + count). Each block has a size setting: 1×1 / 2×1 / 1×2 / 2×2, and a color scheme (dark / sand). Mobile: 2 columns, 2×2 → 2×1. |
| S14 | Hero product switcher | P1 | Apple iPhone 17 (color changes the image), On.com (model carousel) | One product; a switcher over option values (variants) changes the image (variant image), the price, 1–3 specs from metafields and the CTA (variant id). 350ms crossfade. Sand color scheme with X-watermark by default. Mobile: stacked, swatches below the image. |
| S15 | Reels wall | P1 | Be Yours “In real routines” (5 clips 9:16 + product card) | 4–6 video blocks, 9:16, autoplay muted loop, caption and duration on top, product chip at the bottom (product from the block setting). Tap → modal: video with sound + “Add to cart”. Mobile: horizontal scroll at 62 % width. Lazy load, poster. |
| S16 | Drop / launch | P1 | Nike SNKRS “Upcoming”, Be Yours countdown | Launch date (setting) → before it: countdown + “Notify me” email (customer form, tag drop:<handle>) + blurred product cards with “?” and a hidden title; after it: regular cards and a CTA. Setting reveal_names (show titles before the release). |
S12 · Scroll story — how to build it in Shopify
Live, three stories on three showcase templates (after the benefits): Cast Kettlebell — «From Fire To Floor» (how it's made), Core Dumbbells — «Your First Workout» (four moves, captions = sets × reps), Flow Yoga Mat — «Morning Flow» (ten minutes; a colour buy step). One story per root template, so every other product page has one too: Equipment «How We Test» (e.g. Adjustable Dumbbell Set), Sportswear «From Yarn To Rep» (Aero Core Hoodie), Nutrition «From Source To Scoop» (Whey Protein) — the buy step sells the page's product, its label from the first option (size, flavor…). Products mode on the Sportswear collection, after Shop the look: «Pack Your Gym Bag» — a product per step, the set at the end. The Scroll story prototype runs the same section (/demo/scroll-story.css + scroll-story.js) on the three demos' tokens — Extrême, Tech, Inova, both modes. The section's stylesheet is its own file (ship it as assets/section-scroll-story.css); it reads the scheme's tokens only, so it works on light schemes too (the passed marker's number takes the page's ground, the caption over a photo stays light on dark glass, a light scheme sets --ext-scheme: light for the set's selects). Figma: ↳ Scroll story (Story marker, Story caption, Story step, Story buy, Scroll story; stories 2–3 beside them) and the Cast Kettlebell frames on ↳ Product. No apps, no animation library — the timeline is about 60 lines of vanilla JS.
A story told in steps — how a product is made, a first workout, a morning routine. The numbers mean order, so use the section for a sequence; for loose benefits switch the markers to dots. Without a buy block it is a plain story and works on any page (the homepage, a brand page).
Settings and blocks
Section scroll-story: eyebrow (text), heading (inline richtext — <em> is the outline keyword, as in the other Extrême headings), width (narrow | page, default narrow — 1280 px, centred), media_position (left | right, default left), media_ratio (4:5 | 1:1, default 4:5), markers (numbers | dots, default numbers), mode (story | products, default story), color scheme, padding_top / padding_bottom (72 / 72).
Block step (up to 6): image (the frame for this step), caption and caption_note (optional — a caption on the photo, e.g. «Detail · handle» / «35 mm, ground smooth»), heading, text, product (optional — the frame falls back to product.featured_image; in Products mode also the heading to the product's title, and the price + «View product» sit under the text).
Block buy (0–1, always last): product (default: the page's product), label (blank — «Choose your title (Products mode; default «The Whole Set»), set_discount (Products mode; 0–30 %, step 5, default 10). Story mode — chips for the values of the first option, the price and Add to cart. Products mode — the frame shows every step's product photo 2 × 2; the card lists them (thumb, title, price, and a variant select when the product has more than one variant — sold-out variants disabled; with one variant its title, unless «Default Title»). A select swaps the row's photo (and its cell in the frame), its price and the total, formatted with theme.Currency.formatMoney and the shop's money format, the total (the sum less set_discount, the sum struck through; at 0 % the plain sum) and «Add the set»: one POST /cart/add.js with items: [{ id, quantity: 1 }, …] — each row's selected variant (the first available one to start with). The discount is only shown: set up a matching automatic discount in Shopify (Discounts → «Amount off products» on these products, minimum quantity = the number of products) or leave set_discount at 0.
Markup
- The frames column: every step's image at once, stacked (
position: absolute), the firstloading="eager", the restlazy; the buy step adds one frame per variant (variant.featured_image). - The timeline column opens with the eyebrow and the heading (level with the frame's top), then a line (
[data-ext-line] > [data-ext-fill]) and an<ol>of steps; each step = a marker (the number01… in a span that the Dots style hides with CSS — keep it in the markup so the style can change without a re-render; the buy step has the cart icon) + the step's photo (shown below 1024 only) + heading and text. - The buy step: a card with the label, the product title, chips (Concept's
label-swatchpills, a sold-out value disabled), the price, a Conceptproduct-formwith the selected variant id; the variants as JSON for the script.
Behaviour
- The activation line is the centre of the sticky frame (below 1024 — the middle of the screen). The fill grows continuously from marker 01's centre to the activation line; a step becomes current when its marker crosses that line, so the fill and the markers always agree. Steps before it are passed, after it upcoming.
- The current step's frame fades in (400 ms); the buy step shows the frame of the selected variant.
- The column of steps starts so that marker 01 sits on the activation line once the frame sticks — the first step is current at once. The eyebrow and the heading live in that top space: the steps' top padding is half a frame minus half a marker minus the heading's height (with its margin), measured by the script. Every step is half a frame tall, so the next one is always in view. Without a buy step the last step is half a frame plus half a marker tall: when the timeline's foot meets the frame's foot its marker has just crossed the centre, then the section scrolls away. The buy step sits one step below the last one like every step, but it is only as tall as its card, so the section ends on the card's foot — flush with the frame's foot. Its marker can't reach the centre by then, so the line's last stretch is spread over the scroll that is left: the activation line is remapped from the previous marker to the section's end (
end= the card's foot − half the frame), and the line reaches the buy marker — and the buy step turns current — exactly as the section ends. A card taller than half a frame needs no remap. - The frame: stuck in the middle of the screen under the header —
top = max(header + pill + 24, header + (100svh − header − frame) / 2), re-measured when the header changes height (Concept's shrinks once the page scrolls: observe its border box) — its height100svh − header − pill − 2 × section padding, the width from the ratio; the timeline takes the rest. On a tall wide screen the frame is capped so the timeline keeps at least 528 px (marker + gap + the text's 28em). - Width:
narrow(default) caps the section at 1280 px and centres it, so the frame and the text stay close together on wide screens;pageuses the page width. - The script reads the markers' positions on every scroll frame (
requestAnimationFrame) — the content above the section may settle after load — and again on resize, on the column's size change and on every image load; it computes the state at once and onscrollend, so a jump (a scroll-spy link, a deep link) lands with the right step. - Chips: a chip picks a variant whose first option is that value — an available one first, and among those the one that keeps the current selection's other options (Black / XS sold out, Black / M in stock: «Black» picks Black / M); only if none is available, the first match → the price (render each variant's price with the theme's price snippet into a
<template>and swap it in — the shop's money format and the struck compare-at price come for free), the form's variant id, the buy step's frame (and its photo on phones). On load the page's selected variant (?variant=) is chosen; the block does not change the URL. A sold-out variant: the chip is disabled, the button reads «Sold out».
Look (Extrême)
- Line 2 px,
rgb(var(--color-foreground) / .12); fill--color-highlight,transform: scaleY(var(--fill))from the top. The fill is an empty element — give itdisplay: blockabove Concept'sdiv:empty { display: none }. - Marker 48 px (40 below 1024), round, the number in the heading font: upcoming — the surface colour, a 1 px inset outline at 12 %, the number at 60 %; passed —
--color-highlightwith an ink number; current — passed + a halo0 0 0 8px rgb(var(--color-highlight) / .16). Dots mode: a 12 px dot with the same states. - Step text opacity: upcoming .3, passed .5, current 1 (250 ms). Heading 24–32 px Title Case, text 16–18 px.
- The buy card: the surface colour, no outline, the block radius; chips as the product page's pills (the selected one filled). The card hugs its content from its marker down (label, title, chips, then the price and Add to cart right under them) — no stretched card with empty space.
- While a story's buy card is on screen (an
IntersectionObserver), hide Concept's sticky Add to cart (product-sticky-form) — it is the same product's button and would cover the card's price and button at the frame's foot. - The caption: a glass pill (as the scroll-spy's Glass) —
rgb(9 9 11 / .55)+backdrop-filter: blur(16px), a 1 px inset outline at 12 % — 16 px inside the frame's bottom edge; the caption 14 px semibold on the left, the note 14 px at 60 % on the right. It sits inside the frame, so it fades with it. On the phone photo: 12 px inside, 12 px type, padding 10 / 14, one line (the note truncates).
Phones and tablets (below 1024)
No sticky frame: the eyebrow and the heading on top, each step shows its own photo (4:5, with its caption) above its text, the line and the markers run on the left (marker 40 px), the activation line is the middle of the screen. The buy step shows the selected variant's photo.
Reduced motion
prefers-reduced-motion: reduce — the line is full and every marker passed, but the current step (its text at full opacity and its frame) still follows the scroll; frames switch without the fade.
Theme editor, keyboard, layout
- Make the section a custom element (
<scroll-story>):connectedCallbackstarts it,disconnectedCallbackremoves every listener and observer — the theme editor re-renders sections in place. :focus-withinon a step lifts its text / buy card to full opacity, so a keyboard user never works in a faint card.- Media position Right swaps the grid columns (
minmax(0, 1fr) auto), not only the order — otherwise a long heading widens the timeline column and pushes the frame out of the section.
Source: docs/partners/wave-1.md · updated 2026-11-12 · not indexed.