> For the complete documentation index, see [llms.txt](https://docs.webexp.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.webexp.dev/drift-shopify-theme/drift-studio/sections-and-features/feed.md). Agents can also search and read this documentation through its [MCP server](https://docs.webexp.dev/~gitbook/mcp).

# DRIFT Feed

The signature DRIFT homepage product feed — vertical swipe carousel or grid view, shopper-toggleable.

The Product Feed (named "DRIFT Product Feed" in the section picker) is a vertical scrolling carousel of products — like a TikTok For You feed but for shopping — and merchants can also let shoppers toggle into a grid view on the fly.

## When to use it

* **Homepage** — replaces the traditional "featured collection" section
* **Brand pages** — for showcasing a curated edit
* **Drop pages** — for cycling through items in a launch

For full collection pages with filters/pagination, use the [Collection Feed](https://docs.webexp.dev/drift-shopify-theme/drift-studio/sections-and-features/collection.md) section instead.

## Settings

Open the theme editor → click the Product Feed section.

**Layout**

* **Collection** — which collection to display (defaults to your Frontpage collection)
* **Image ratio** — square (1:1) or portrait (3:4)
* **Default view** — `Swipe` (the fullscreen takeover carousel) or `Grid` (responsive grid with product cards). Swipe is the default.
* **Allow view toggle** — when on, a swipe/grid icon appears in the header so shoppers can switch views on the fly. Their choice persists across pageviews via localStorage.
* **Grid columns (desktop)** — 3 or 4 columns. Mobile is always 2 columns.

**Products**

* **Products to show** — how many products the feed holds, 4 to 50 (default 20; 10–20 is the sweet spot)
* **Show product title** — display titles below each image
* **Show product price** — display prices below each image

**Hover effect** — applies to both swipe (active slide only) and grid views. Desktop only — touch devices have no hover.

* **None** — no effect
* **Grow** — subtle scale-up on the image
* **Glow** — soft outline around the image
* **Image swap** — cross-fades to the product's 2nd image on hover. Requires a 2nd product image. Skipped for products with only one image and for sold-out products. In the swipe feed, Image swap is replaced by the image arrows while **Show image dots and arrows** is on (grid view keeps it)

Hover effects wait until the feed stops moving, so a pointer resting over the products while scrolling doesn't interrupt the animation.

**Images**

* **Show image dots and arrows** — on by default. Dots under the product in focus show it has more images. On mobile shoppers swipe sideways through them; on desktop, arrows appear when the pointer is over the image. See [Browsing a product's images](#browsing-a-products-images)

**Swipe-specific**

* **Progress indicator** — none, dots, or numbers. Numbers shows the current product and the total as two small glass bubbles joined by a line, beside the feed

**Quick add (Studio only)**

* **Enable quick add** — adds a quick-add button below each product, so shoppers can pick options and add to cart without leaving the feed
* **Quick add style** — **Plus button** opens the quick add panel. **Size buttons** shows the sizes right under the product, and one tap adds that size to the cart. Products with more than one option (size *and* colour, say) fall back to the plus button

The quick add panel slides up from the bottom of the screen, like the cart, and shows the product's [size chart](https://docs.webexp.dev/drift-shopify-theme/drift-studio/metafields/size-chart.md) when it has one.

## How customers interact with it

**Swipe view (default):**

* **Mouse**: scroll the page, the feed advances one product at a time
* **Touchpad**: swipe vertically
* **Mobile**: swipe up/down on the feed area
* **Keyboard**: arrow keys

The active product is centered in the viewport. Surrounding products are visible but slightly faded.

### Browsing a product's images

Every product with more than one image (up to four) can be browsed right in the feed.

**Mobile:**

* **Swipe up/down** — moves between products, as before
* **Swipe left/right** — moves through that product's images

The two gestures are handled by the browser on separate axes, so neither interferes with the other, and it works the same way as the product page's mobile gallery — shoppers only learn the gesture once. Whichever image is nearest the centre is full size and sharp; its neighbours scale down, blur and fade.

**Desktop** (with **Show image dots and arrows** on):

* Small glass arrows appear on either side of the image while the pointer is over it, and stay out of sight otherwise
* Clicking an arrow crossfades to the next or previous image, looping at the ends
* A sideways two-finger swipe on a trackpad and the left/right arrow keys do the same

**Dots** under the product in focus show how many images it has and which one is showing. They fade out as the product scrolls away, so only one row of dots is ever on screen.

A product scrolled away from returns to its first image. Images past the first are lazy-loaded, so a feed full of products doesn't pay for images nobody looks at.

Turning **Show image dots and arrows** off removes the dots and the desktop arrows (mobile swiping stays).

{% hint style="info" %}
**Sold-out products:** when **Blur sold-out products** is on (Theme settings → Product Cards), sold-out products show only their first image, with no swiping, dots or arrows, since the blur hides them anyway. With the blur off, sold-out products can be browsed like any other.
{% endhint %}

**Grid view:**

* Standard scrolling. Tap any product to navigate to the PDP.
* Mobile shows 2 columns; desktop shows the merchant-set 3 or 4 columns.

**Toggle (if enabled):**

* The swipe/grid icon in the header swaps the active view instantly — no page reload.
* Keyboard shortcut: `V` toggles the view.

## Hero block

Add a **Hero** block to the feed to open it with a full-width banner: an image or video with a heading and up to two buttons. It's the first slide of the swipe feed, and shoppers swipe past it to the products the same way they move between products.

Add it in the theme editor: click the Product Feed section → **Add block** → **Hero**. One per feed.

| Setting                            | Default        |                                                                                                                                                  |
| ---------------------------------- | -------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
| **Media**                          | Image          | Image or Video                                                                                                                                   |
| **Image**                          | —              | The hero image. Also shown while a video loads                                                                                                   |
| **Mobile image**                   | —              | Optional. Used on phones instead — useful for a taller crop                                                                                      |
| **Video**                          | —              | Plays muted and on loop, and pauses when shoppers swipe past                                                                                     |
| **Width**                          | Standard       | Standard, Wide, or **Match header** — lines the hero's edges up with the header pills                                                            |
| **Height — desktop**               | 60%            | 40–80% of the screen height (products are 60%)                                                                                                   |
| **Height — mobile**                | 50%            | 40–70% of the screen height (products are 50%)                                                                                                   |
| **Heading**                        | New Collection |                                                                                                                                                  |
| **Subtext**                        | —              |                                                                                                                                                  |
| **Button label** / **Button link** | Shop now       |                                                                                                                                                  |
| **Button action**                  | Go to link     | **Scroll to products** moves the feed to the first product instead of leaving the page — useful for shoppers who don't realise the store scrolls |
| **Second button label** / **link** | —              | An optional second button                                                                                                                        |
| **Text position**                  | Bottom         | Bottom or Center                                                                                                                                 |
| **Text color**                     | Light          | Light or Dark                                                                                                                                    |
| **Image darkening**                | 30%            | 0–80%. Darkens the image behind the text so it stays readable                                                                                    |
| **Image / video blur**             | 0px            | 0–20px. Softens the image or video behind the text. Heavy blur over a video asks more of slower devices                                          |
| **Show scroll arrow**              | On             | A small arrow at the bottom of the hero; tapping it moves to the first product                                                                   |

The progress counter starts counting at the first product, not the hero.

{% hint style="info" %}
The hero shows in the **swipe** view only, not in grid view. If the feed's **Default view** is Grid, shoppers see the hero once they switch to swipe.
{% endhint %}

## Background morph (Studio only)

When **Enable per-product background overrides** is on, the active swiped slide's background morphs to match the product's metafield(s):

* `custom.feed_bg_color` (Color) — paints a solid color background OR seeds the Live Gradient palette (depending on which background style is active in theme settings)
* `custom.feed_bg_media` (File — image or video) — takes over the background completely
* Neither metafield set → falls back to the site-wide theme background

Title and price text auto-invert (white or black) for contrast based on the chosen color's luminance. Media bg always wins over color bg.

### Background media blur

Range 0–30px. Blurs image and video backgrounds when the media metafield is set. Useful when the media is busy and you want the product to stand out. Doesn't affect solid color or gradient backgrounds.

See [feed-bg-color](https://docs.webexp.dev/drift-shopify-theme/drift-studio/metafields/feed-bg-color.md) and [feed-bg-media](https://docs.webexp.dev/drift-shopify-theme/drift-studio/metafields/feed-bg-media.md) for metafield setup.

## Tips

* **Curate the feed manually** — pick hero products, bestsellers, new arrivals. Don't dump 100 products into it.
* **Use lifestyle shots** — the swipe view is editorial. Catalog cutouts feel sterile here. Story-telling shots land better.
* **Default to swipe for editorial brands, grid for catalog-heavy stores** — and let shoppers toggle either way.
* **Test on mobile** — vertical swipe is the native feel on phones. Verify on real devices.
* **Pair with quick-add (Studio)** — customers can add to cart without leaving the feed.
* **Don't overload with sections** — the feed is meant to be the focal point. Surrounding it with 5+ other sections dilutes the effect.

## Performance

The swipe view loads all products' images upfront for smooth scrolling. Products-per-page above 30 may slow mobile initial loads. Stay around 10–20 for the best balance.

The grid view lazy-loads images via a blur-up pattern (small placeholder → full image on first visibility), so it scales better with larger collections.
