Product lists
Responsive product grids: simple inline-price cards, header + CTA link, and full-detail bordered cards.
Preview
Customers also purchased
Trending products
Shop the collectionProducts
Basic Tee 8-Pack
Get the full lineup of our Basic Tees. Have a fresh shirt all week, and an extra for laundry day.
8 colors
$256
React preview
LiveView (HEEx)
alias DesignSystem.UI.ProductLists
<ProductLists.product_list
variant={:simple}
heading="Customers also purchased"
products={[
%{
name: "Basic Tee",
href: "/products/basic-tee",
color: "Black",
price: "$35",
image_url: "/images/tee-black.jpg",
image_alt: "Front of men's Basic Tee in black."
}
]}
/>
<ProductLists.product_list
variant={:cta_link}
heading="Trending products"
cta_label="Shop the collection"
cta_href="/collection"
products={products}
/>
<ProductLists.product_list
variant={:full_details}
heading="Products"
heading_sr_only={true}
products={products}
/>
React (JSX)
import { ProductList } from "../ui/index.mjs"
<ProductList
variant="simple"
heading="Customers also purchased"
products={[
{
name: "Basic Tee",
href: "/products/basic-tee",
color: "Black",
price: "$35",
imageUrl: "/images/tee-black.jpg",
imageAlt: "Front of men's Basic Tee in black.",
},
]}
/>
<ProductList
variant="cta_link"
heading="Trending products"
ctaLabel="Shop the collection"
ctaHref="/collection"
products={products}
/>
<ProductList
variant="full_details"
heading="Products"
headingSrOnly
products={products}
/>