Sections

Watts Gallery / Ingredients section

A gallery / ingredients section from wattspet.com, previewed live.

GalleryIngredientsPetsCard Hover

Credits
View Source
Built with
Shopify
See 8 more sections from Watts
Visit site

Watts

Values measured from the public site. Fonts may need a licence from their foundry.

Colours

4 colours, by how much of the page uses them. Click to copy.

Type scale

Desktop and mobile sizes, line height, weight and letter spacing.

StyleSampleSizeLineWeightTracking
Heading 1DegularDesigned to last8032 mobile17000
Heading 2DegularDesigned to last7280 mobile17000
Heading 3DegularDesigned to last4832 mobile17000
Heading 4DegularDesigned to last3224 mobile17000
BodyDegularMade from recycled materials and built to last.1616 mobile1.24000
SmallDegularMade from recycled materials and built to last.1412 mobile1.24000
LabelDegularShop the collection1414 mobile16004%

Fonts

The font families used and where they come from.

Aa
DegularHeadings and body
Self-hosted

Take it with you

The whole design spec as one Markdown file, for your notes or an AI tool.

Store Supplies describes how this site is built, using what’s publicly visible, for reference and learning. All trademarks, imagery and designs belong to Watts, which isn’t affiliated with us. Own this site?

A header row (heading and label on the left, intro text on the right) above a draggable row of square ingredient cards. Each card has an image, a title and an open button; opening a card shrinks its image into the bottom-right corner while a panel with a label, description and read-more link takes its place.

Gallery1 block type12 settings

Read from the recording; layouts at other screen sizes are inferred. Structure only: colours, fonts and copy come from your theme.

Prerequisites

  1. An AI coding tool that can edit files
  2. The Shopify CLI, with your theme pulled
  3. Optional: Shopify AI Toolkit or Dev MCP

Anatomy

The section’s structure on desktop and mobile, by part.

SectionHeaderHeadingLabelIntro textCard trackIngredi…Card mediaTitle×7 · scrollsScroll progress
  • SectionGroup

    Header row above a horizontal scroller, with a scrollbar track at the bottom.

    • HeaderGroup

      Two columns: title group on the left, intro text right-aligned on the right.

      • HeadingTextSetting · heading

        Large heading of 2–4 words.

      • LabelTextSetting · label

        Small uppercase line under the heading.

      • Intro textRich textSetting · intro

        About 25 words, sits on the right.

    • Card trackGroup

      Drag/scroll row with about 5 cards visible at 1024px and the next one cut off at the edge.

      • Ingredient cardGroupRepeats as ingredient blocks

        7 or more in the reference.

        • Card mediaGroup

          Square, rounded corners. The image and the detail panel share this area as layers.

          • ImageImageingredient block · image

            Fills the area when closed. When open, it shrinks to a small thumbnail over the toggle button in the bottom-right corner.

          • Detail panelGroup

            Background panel that expands from the bottom-right corner when the card opens. In the reference it also covers the title row.

            • Detail labelTextingredient block · detail_label

              Small uppercase line.

            • DescriptionRich textingredient block · description

              About 30–45 words.

            • Read moreLinkingredient block · link_label + link

              Underlined text link.

        • TitleTextingredient block · title
        • Open buttonButtonSetting · open_label

          Square plus-icon button to the right of the title. The icon is fixed; its ARIA label comes from the section setting.

    • Scroll progressControlSetting · show_scrollbar

      Thin track with a thumb that shows the scroll position.

Layout by breakpoint

Mobileup to 749px

The header stacks (heading, label, then intro text). The card row stays a swipe scroller with about 1.3 cards visible.

Desktop990px and up

Header split into two columns; the card row scrolls sideways with about 5 cards visible and a partial card peeking in; scrollbar below.

Interactions

What visitors can do, and what happens.

On click

The image scales down toward the bottom-right corner into a thumbnail over the button. The panel background expands from that corner, then the label, description and link fade in. Clicking the button (or thumbnail) again reverses the sequence.

On click

Pointer drag, wheel or touch scrolls the row; the scrollbar thumb moves with it. Drag back.

Theme editor settings

What a merchant can change on the section.

Content
Headinginline_richtext
Show labelcheckbox
Labeltext
Intro textrichtext
Open button ARIA labeltext
Layout
Cards visible on desktoprange2–6
Cards visible on mobileselect1 with peek / 1.5 / 2 with peek
Image ratioselectSquare / Portrait / Landscape / Adapt to image
Show scrollbarcheckbox
Style
Color schemecolor_scheme
Top paddingrange0–100 px
Bottom paddingrange0–100 px

Ingredient blockup to 16 blocks in all

Imageimage_picker
Titletext
Detail labeltext
Descriptionrichtext
Link labeltext
Linkurl

Starting layouts: Ingredient carousel

Open decisions

Judgment calls made reading the section. Your AI will see these too.

  • Ingredients are editorial content, so they use manual blocks rather than product pickers.
  • Only one desktop width (~1024px) was recorded. Tablet and mobile layouts are inferred.
  • Whether opening one card closes the others was not shown; recommend allowing only one open card at a time.
  • In the reference the open panel covers the title row; keeping the title visible underneath is an alternative.
  • The 'Read more' link was unlinked in the recording; it is an optional URL and is hidden when empty.
  • The scrollbar is assumed to be draggable as well as indicating the scroll position.

Build it in your theme

Paste the prompt into your AI tool. It works out your theme’s block setup, then builds the section.

Built with

GSAP 3.14.1Animation engine
Embla CarouselCarousels and sliders

Also on this site

GSAP ScrollTriggerScroll-triggered and scrubbed animation
GSAP ScrollSmootherSmooth scrolling
GSAP SplitTextSplits text into lines and letters
LottieVector animations exported from After Effects

A draggable row of ingredient cards, each with a photo, a title and a round open button. Clicking the button shrinks the photo down into the bottom-right corner while a white panel grows out from that same corner, then the ingredient label, description and read-more link fade in on the panel; clicking again reverses it.

On clickOn hover

Read from the uploaded recording; timings are estimates.

Sequence

What happens, in order.

  1. 1
    Card openson click · ~3.8s

    On click, the card photo scales down towards its bottom-right corner, ending as a small thumbnail sitting over the open button, while a white panel expands from that same corner to fill the card. Both run together over about 0.3s with a soft ease-out. As the panel finishes, the label, description and read-more link fade in in place at the top of the card.

    Clip wipeSimple fade
  2. 2
    Card closeson click · ~3.3s

    Clicking the button again reverses it: the text fades out first, the white panel shrinks back towards the corner and the photo grows back up to fill the card. The close is slightly longer, about 0.5s, with a gentle ease-in-out so the image settles back into place.

    Clip wipeSimple fade
  3. 3
    Button hoveron hover · ~800ms

    Hovering the open button darkens it from white to near-black quickly in place, confirming it is clickable.

  4. 4
    Drag the rowon click · ~1.1s

    Dragging the row slides the whole strip of cards to the left by roughly one card, gliding to a stop with an ease-out, and the scrollbar thumb below moves along with it. Cards at the edges slip out of and into view as the strip moves.

    Panel slide

Patterns

The techniques behind it, with typical values. A guide to the approach, not a copy.

Clip wipe

An image or panel is revealed by a moving edge, as if a curtain is pulled across it. It is done by clipping the element or sliding it inside a mask.

Typical values
350ms–1.1s, staggered right to left over ~250ms, ease-out (approx., from the recording)
Build with
CSS — transition clip-path, or move the image inside an overflow-hidden frame.

Simple fade

An element fades in or out without moving. Used for supporting content where movement would distract.

Typical values
~450ms, rises ~6% of the screen, ease-in (approx., from the recording)
Build with
CSS — a single opacity transition.

Panel slide

Slides move as a strip: the whole track shifts by one full panel to bring the next item in. Often paired with a counter-move or zoom on the images inside.

Typical values
~1.1s, slides left ~18% of the screen, ease-out (approx., from the recording)
Build with
CSS — translate the track by one panel per step; a carousel library adds swiping and looping.

Build steps

  1. Build the row as a draggable carousel with free momentum and a linked progress scrollbar beneath.
  2. Inside each card, stack the photo, a hidden white panel and the text block, all anchored to the bottom-right corner where the open button sits.
  3. On open, scale the photo down towards the bottom-right into a small thumbnail over the button while growing the white panel from that corner, together, over about 0.3s with a soft ease-out.
  4. As the panel completes, fade the label, description and read-more link in place, quickly and without movement.
  5. On close, fade the text out first, then shrink the panel back to the corner and scale the photo back up over about 0.5s, ease-in-out.
  6. Give the button a quick colour change from white to dark on hover.

Animation style

Where this motion sits on the motion map.

BCinematicCImmersiveAFunctionalDPlayful
Primary

Functional / Invisible

The motion is click-triggered, short and in-card, with soft ease-outs and no overshoot, serving to reveal information rather than perform.

Secondary

Playful / Expressive

The image shrinking into the corner button while the white panel grows out from it gives the card swap a small tactile, characterful twist.

Intensity2/5Subtle to spectacular
Tone2/5Serious to playful
FeelingTidy · Tactile · Calm

Take it with you

Everything above as one Markdown file, for your notes or an AI tool.

Similar sections

More gallery / ingredients sections

View all
Watts gallery / image with text section, pets Shopify store example, desktop
WattsGallery, Image with Text, Pets
View
New
Two Islands educational / ingredients section, supplements Shopify store example, desktop
Two IslandsEducational, Ingredients, Supplements
View
New
Two Islands educational / ingredients / glossary section, supplements Shopify store example, desktop
Two IslandsEducational, Ingredients, Glossary
View
New
Two Islands features / educational / ingredients section, supplements Shopify store example, desktop
Two IslandsFeatures, Educational, Ingredients
View
New
Two Islands about / ingredients section, supplements Shopify store example, desktop
Two IslandsAbout, Ingredients, Supplements
View
New
Eternal Blue educational / ingredients section, cosmetics Shopify store example, desktop
Eternal BlueEducational, Ingredients, Cosmetics
View
New
TWYG Skincare educational / ingredients section, skincare Shopify store example, desktop
TWYG SkincareEducational, Ingredients, Skincare
View
New
TWYG Skincare features / educational / ingredients section, skincare Shopify store example, desktop
TWYG SkincareFeatures, Educational, Ingredients
View
New
TWYG Skincare image with text / educational / ingredients section, skincare Shopify store example, desktop
TWYG SkincareImage with Text, Educational, Ingredients
View
New
Drink Collider ingredients section, non-alcoholic Shopify store example, desktop
Drink ColliderIngredients, Non-Alcoholic
View
Norr11 hero / gallery section, furniture Shopify store example, desktop
Norr11Hero, Gallery, Furniture
View
Seed educational / ingredients / usps section, supplements Shopify store example, desktop
SeedEducational, Ingredients, USPs
View

More from Watts

Other sections from this website

View all
Watts social / ugc section, pets Shopify store example, desktop
WattsSocial, UGC, Pets
View
Watts features / educational section, pets Shopify store example, desktop
WattsFeatures, Educational, Pets
View
Watts gallery / image with text section, pets Shopify store example, desktop
WattsGallery, Image with Text, Pets
View
Watts about / how to section, pets Shopify store example, desktop
WattsAbout, How to, Pets
View
Watts about / usps section, pets Shopify store example, desktop
WattsAbout, USPs, Pets
View
Watts footer section, pets Shopify store example, desktop
WattsFooter, Pets, Colourful
View
Watts hero section, pets Shopify store example, desktop
WattsHero, Pets, Bold
View
Watts product page section, pets Shopify store example, desktop
WattsProduct Page, Pets
View

The best of Shopify, curated weekly.

WebsitesSectionsFeatures
LoginSign up