Compare Products 3 - Product comparison with add, remove, and cart actions
- from @shadcnblocks
This component allows users to compare up to four products by showcasing details such as price, rating, reviews, and key highlights. Features include the ability to add or remove products for comparison and a call-to-action button to add selected products to the cart.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @shadcnblocks/compare-products3Registry dependencies0
The CLI adds no other registry items with this one.
Packages0
No npm packages are installed with it.
