Sections

The Main Stays Product Cards section

A product cards section from yourmainstays.com, previewed live.

Product CardsFood & DrinkColourfulCursor

Credits
ONBOX
Built with
Shopify
See 3 more sections from The Main Stays
Visit site

The Main Stays

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

Colours

2 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 1Exposure TrialDesigned to last4839 mobile1.253960
Heading 2Auger MonoMade from recycled materials and built to last.2020 mobile1.257000
BodyAuger MonoMade from recycled materials and built to last.1616 mobile1.45000
LabelAuger MonoShop the collection1616 mobile1.257000

Fonts

The font families used and where they come from.

Aa
Exposure TrialHeadings
Self-hosted
Aa
Auger MonoHeadings 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 The Main Stays, which isn’t affiliated with us. Own this site?

A centred heading above a centre-focused product carousel: the active product image is enlarged between smaller neighbours, line graphics animate in beside it, and the active product's title, tagline and button sit below, with arrows on desktop and dots on tablet and mobile.

Product Cards1 block type12 settings

Measured from the live section at desktop, tablet and phone widths. 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.

SectionHeadingCarouselProduct slide×7 · scrollsActive product infoPrevious a…Product titleTaglineView product buttonNext arrow
  • SectionGroup

    Single centred column.

    • HeadingTextSetting · heading

      Large centred heading, about 8 words.

    • CarouselGroup

      Full-bleed horizontal track. The active slide is centred and scaled up; neighbours are smaller and clipped at the edges.

      • Product slideGroupRepeats as product blocks

        7 in the reference. 344×430 at 1280 and 768, 172×215 at 375 (0.8 ratio).

        • Product imageImageproduct picker · featured_image

          Cut-out product shot. The whole slide links to the product.

        • Left line graphicImageproduct block · graphic_left

          Line illustration overlapping the left edge of the active product. Hidden on inactive slides.

        • Right line graphicImageproduct block · graphic_right

          Line illustration overlapping the right edge of the active product.

    • Active product infoGroup

      Centred below the track; updates to match the active slide.

      • Product titleTextproduct picker · title
      • TaglineTextproduct block · tagline

        Short line of 5–8 words. Falls back to the product description if empty.

      • Previous arrowControlSetting · previous_label

        Round icon button left of the info block; desktop only.

      • Next arrowControlSetting · next_label

        Round icon button right of the info block; desktop only.

      • Pagination dotsControlRepeats as product blocks

        One dot per slide, shown at 768 and 375.

      • View product buttonButtonSetting · button_label

        Pill button linking to the active product's URL (resource.product.url).

Layout by breakpoint

Mobileup to 749px

Heading wraps to about 4 lines. Slides are half size, the active one centred with neighbours peeking in. Dots and button sit below; the track is swipeable.

Tablet750px and up

Same centred track, with neighbours clipped at the viewport edges. Arrows are replaced by dots placed between the tagline and the button.

Desktop990px and up

Heading centred above the track. The track shows the active product large in the centre with one smaller product on each side. The info block sits below, flanked by prev/next arrows, with the button underneath.

Interactions

What visitors can do, and what happens.

On click

The track scrolls one product; the new centre slide scales up and the info block and button link update to it. The previous arrow does the reverse. Click the opposite arrow.

On click

Jumps to the chosen slide. Choose another dot.

On scrollinferred

Swiping or scrolling the track snaps to the centred slide, which becomes active. Swipe back.

On autoinferred

When a slide becomes active, its line graphics animate in beside the product; inactive slides hide them. The slide stops being active.

Theme editor settings

What a merchant can change on the section.

Content
Headinginline_richtext
Button labeltext
Previous arrow labeltext
Next arrow labeltext
Layout
Text alignmenttext_alignment
Image ratioselectPortrait / Square / Adapt to image
Show arrows on desktopcheckbox
Show dots on tablet and mobilecheckbox
Show line graphicscheckbox
Style
Color schemecolor_scheme
Top paddingrange0–100 px
Bottom paddingrange0–100 px

Product blockup to 12 blocks in all

Productproduct
Taglinetext
Slide color schemecolor_scheme
Left line graphicimage_picker
Right line graphicimage_picker

Starting layouts: Product spotlight

Open decisions

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

  • Slides use one block per product (with a product picker) rather than a product_list, because each product needs its own tagline, colour and line graphics.
  • The per-product colour from the brief is a block-level color_scheme; how it is applied (slide backdrop or section background) is left to the theme.
  • Line graphic animation and their hiding on inactive slides are inferred from static screenshots and the brief; no timing is specified.
  • Desktop shows arrows only and tablet/mobile show dots only, as observed; both are exposed as toggles.
  • Swipe and keyboard navigation are inferred.
  • The tagline falling back to the product description is a suggestion, not observed.

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

GSAPAnimation engine
GSAP ScrollTriggerScroll-triggered and scrubbed animation
GSAP ScrollSmootherSmooth scrolling
GSAP SplitTextSplits text into lines and letters
Embla CarouselCarousels and sliders

Also on this site

LenisSmooth scrolling

A product carousel of jars with arrow buttons that step through the range; each time a new jar takes centre stage, the section recolours to that product's colour and hand-drawn line doodles appear on either side of it. Each click slides the strip one jar to the left while the centre jar grows and the caption crossfades.

On click

Read from the uploaded recording; timings are estimates.

Sequence

What happens, in order.

  1. 1
    First arrow clickon click · ~550ms

    On clicking the next arrow, the whole strip of jars slides left by one slot with a soft ease-out over about half a second; the outgoing centre jar shrinks while the incoming one grows into the middle. At the same moment the caption fades out and back in, and the headline, arrows and button switch to the new product's colour. The old doodles fade away as the jar leaves, and new line doodles appear beside the new centre jar about 0.3s later as it settles.

    Panel slideSimple fadeSVG draw-on
  2. 2
    Second arrow clickon click · ~550ms

    The same move repeats: the track glides left one jar with an ease-out, the new centre jar scales up and the side jars shrink. The caption fades to the new copy, the colour theme shifts, and the fresh doodles fade in beside the jar once it lands.

    Panel slideSimple fadeSVG draw-on
  3. 3
    Third arrow clickon click · ~600ms

    Another one-slot slide to the left, with a new jar entering from the right edge and the caption crossfading in place. The whole palette warms to the new product colour and its themed doodles appear around the centred jar as the slide settles.

    Panel slideSimple fade

Patterns

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

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
~550ms, slides left ~16% 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.

Simple fade

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

Typical values
50–450ms, ease-in-out (approx., from the recording)
Build with
CSS — a single opacity transition.

SVG draw-on

A line drawing appears as if being drawn, by animating how much of each stroke is visible.

Typical values
~300ms, ease-in-out (approx., from the recording)
Build with
CSS — animate stroke-dashoffset on the SVG paths.

Build steps

  1. Build a horizontal carousel of product jars with the active jar centred and larger, and previous/next arrow buttons below.
  2. On arrow click, slide the track one slot over about 0.5s with a soft ease-out, scaling the incoming centre jar up and the outgoing one down at the same time.
  3. Give each product a theme colour and transition the headline, caption, arrows and button to it as the slide starts.
  4. Crossfade the caption text: fade the old copy out quickly, swap it, then fade the new copy in as the slide settles.
  5. Attach two hand-drawn line illustrations to each product; fade out the old ones as the slide begins and draw or fade in the new ones beside the centred jar about 0.3s after it starts moving.

Animation style

Where this motion sits on the motion map.

BCinematicCImmersiveAFunctionalDPlayful
Primary

Playful / Expressive

Click-driven slides with colour swaps across the whole section and hand-drawn doodles popping beside the jar give it a characterful, cheerful personality rather than a cinematic one.

Secondary

Functional / Invisible

The arrow-driven carousel shift and caption crossfade are straightforward navigation feedback.

Intensity3/5Subtle to spectacular
Tone4/5Serious to playful
FeelingCheerful · Snappy · Crafted

Take it with you

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

Similar sections

More product cards sections

View all
Mana product cards section, food & drink Shopify store example, desktop
ManaProduct Cards, Food & Drink, Colourful
View
Watch House product cards section, food & drink Shopify store example, desktop
Watch HouseProduct Cards, Food & Drink, Card Hover
View
Amour Liquide product cards section, food & drink Shopify store example, desktop
Amour LiquideProduct Cards, Food & Drink, Card Hover
View
re_ grocery product cards section, food & drink Shopify store example, desktop
re_ groceryProduct Cards, Food & Drink, Brutalist
View
New
STEL product cards section, fashion Shopify store example, desktop
STELProduct Cards, Fashion, Monochromatic
View
New
Eternal Blue product cards section, cosmetics Shopify store example, desktop
Eternal BlueProduct Cards, Cosmetics, Clinical
View
New
TWYG Skincare product list / product cards section, skincare Shopify store example, desktop
TWYG SkincareProduct list, Product Cards, Skincare
View
New
George Cox product cards section, fashion Shopify store example, desktop
George CoxProduct Cards, Fashion, Brutalist
View
Drink Collider product cards section, non-alcoholic Shopify store example, desktop
Drink ColliderProduct Cards, Non-Alcoholic, Minimal
View
Current Collection product cards section, interiors Shopify store example, desktop
Current CollectionProduct Cards, Interiors, Modern
View
Current Collection product cards / image with text section, interiors Shopify store example, desktop
Current CollectionProduct Cards, Image with Text, Interiors
View
Norr11 product cards section, furniture Shopify store example, desktop
Norr11Product Cards, Furniture, Minimal
View

More from The Main Stays

Other sections from this website

View all
The Main Stays footer section, food & drink Shopify store example, desktop
The Main StaysFooter, Food & Drink, Playful
View
The Main Stays recipe section, food & drink Shopify store example, desktop
The Main StaysRecipe, Food & Drink, Playful
View
The Main Stays about section, food & drink Shopify store example, desktop
The Main StaysAbout, Food & Drink
View

The best of Shopify, curated weekly.

WebsitesSectionsFeatures
LoginSign up