Product Gallery 4 - Vertical thumbnail rail with mobile swipePro
A vertical thumbnail rail beside a sliding image track on desktop that collapses to a swipeable track with dot indicators on mobile, using pointer events for drag-to-swipe. Use it on fashion product pages where tall images and thumb-friendly swiping matter.
About Product Gallery 4
A vertical thumbnail rail beside a sliding image track on desktop that collapses to a swipeable track with dot indicators on mobile, using pointer events for drag-to-swipe. Use it on fashion product pages where tall images and thumb-friendly swiping matter.
Product Gallery 4 is a pro product gallery block for React, built on shadcn/ui and Tailwind CSS with motion animations that respect reduced-motion settings. It ships as 101 lines of TypeScript you own: every piece of copy is a prop with a sensible default, so you can drop it in and replace the content without touching the layout.
- gallery
- vertical thumbnails
- swipe
- mobile
- pointer events
- slider
Installation
- Add the Chocolate UI registry to your
components.json(see the installation guide). - Run the shadcn CLI:
npx shadcn@latest add @chocolate/product-gallery-04Dependencies installed automatically: motion.
Uses: reveal, use-reduced-motion, utils.
Usage
import ProductGallery04 from "@/components/blocks/product-gallery-04"
export default function Page() {
return <ProductGallery04 />
}