Product Detail

Product Detail

Storybook
Two-column gallery and content layout for product detail pages.

Loading playground

Overview

ProductDetail is the two-column PDP layout: gallery on one side, content on the other. Drop the gallery into the #gallery slot and assemble the right-hand buy-box yourself from atomic blocks like ProductTitle, PriceInfo, BenefitsBox, and AddToCart so each PDP can mix and match the blocks it needs.

Auto-import tag: <LProductDetail>.

Key Business & UX Benefits

  • Two-column gallery-and-content layout matches the PDP pattern shoppers expect across major retailers, so the page feels familiar from the first second.
  • Slot-based composition lets each PDP mix the right blocks (gallery, title, price, benefits, add-to-cart) per category without forking the layout.
  • Responsive structure scales the same blocks from mobile single-column to desktop two-column, removing the cost of running separate templates.
  • Backend-agnostic shell composes with any commerce data source, so PDPs for ecommerce, marketplace, and B2B variants share one layout system.

Feature List

  • Two named slots ('#gallery' and '#content') for the classic PDP split, so each side is freely composed
  • Content slot accepts any mix of ProductTitle, PriceInfo, BenefitsBox, AddToCart, and category-specific blocks
  • Responsive layout collapses to a single column on mobile, no separate template required
  • Backend-agnostic shell so the same layout drives ecommerce, marketplace, and B2B PDPs
  • Works with any gallery component, including ProductImageGallery, in the gallery slot

API Reference

SlotType
galleryany
contentany
Copyright © 2026 Laioutr GmbH