ecomcn
All blocks

Product / composed example

Product page

A product page built from ecomcn alone: a gallery that follows the colour you pick, the buy box with stock-aware swatches and a size guide, details, reviews that filter, and a rail of related products.

$ npx shadcn@latest add @ecomcn/product-gallery @ecomcn/product-buy-box @ecomcn/size-guide-dialog @ecomcn/product-details-accordion @ecomcn/review-summary @ecomcn/related-products
Older shadcn CLI, or want the registry pinned?

Register the namespace yourself, once per project, then run the same add command. {name} is literal — the CLI fills it in.

$ npx shadcn@latest registry add @ecomcn=https://ecomcn.vercel.app/r/{name}.json
Preview — live
100%

What it is made of

Pick Black: the gallery swaps to its photos, the price drops to its own, and most sizes strike through. Press add before choosing a size and the button asks. Hover the photo to zoom; press it to open full screen. The rating under the name jumps to the reviews, whose histogram filters the list.