Product List 6 - Grid and list view togglePro
A product collection with a grid/list view toggle that morphs cards between a compact image grid and detailed horizontal rows with descriptions and add-to-cart buttons. Use it on category pages where some shoppers browse visually and others compare details.
About Product List 6
A product collection with a grid/list view toggle that morphs cards between a compact image grid and detailed horizontal rows with descriptions and add-to-cart buttons. Use it on category pages where some shoppers browse visually and others compare details.
Product List 6 is a pro product list block for React, built on shadcn/ui and Tailwind CSS with motion animations that respect reduced-motion settings. It ships as 89 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.
- ecommerce
- grid
- list
- view-toggle
- layout-animation
- collection
Installation
- Add the Chocolate UI registry to your
components.json(see the installation guide). - Run the shadcn CLI:
npx shadcn@latest add @chocolate/product-list-06Dependencies installed automatically: lucide-react, motion.
Uses: button, reveal, toggle-group, use-reduced-motion, utils.
Usage
import ProductList06 from "@/components/blocks/product-list-06"
export default function Page() {
return <ProductList06 />
}