Skip to content

Product rail

Used for featured, new, related and recently viewed products. The default row is a Carousel of ProductCards; phones show a little of the next card so the row reads as scrollable.

New in

  • products: list of ProductCard props (title, href, image, price, compareAt, rating, badges, colors, …)
  • title (required), eyebrow, intro: the section header
  • action: { label, href } “view all” link in the header
  • layout: row (carousel, default), columns (static grid, two per row on phones)
  • perView: 2, 3, 4 (default), auto (cards keep a fixed width)
  • quickAdd: shows each card’s quick add button
  • surface: light, alternate, brand, dark
<ProductRail
title="New in"
action={{ label: "View all", href: "/collections/new/" }}
products={products}
/>
layout="columns" perView="4" quickAdd

Most loved

Bestsellers

perView="3" surface="alternate"

You may also like

perView="auto"

Recently viewed