# Portfolio Shop and Product: Product Comparison

A comparison table for three packs, with prices as column headers, feature rows mixing counts, text, and check marks, and a buy button row.

- Page: https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/shop-products/product-comparison
- Collection: [Portfolio](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro), Standard tier
- Group: [Shop and Products](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/shop-products)
- Created: 2026-07-04
- Preview image: https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/shop-products/product-comparison.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/portfolio-pro-shop-products-product-comparison
```

Needs an API key from a Pro or Team plan: add `@shadcn-ui-blocks` to the registries in components.json with the key as an `Authorization: Bearer` header. Setup: https://www.shadcn-ui-blocks.com/docs/shadcn-cli. The MCP server installs it without the setup: https://www.shadcn-ui-blocks.com/docs/mcp.

## Depends on

- npm packages: class-variance-authority, lucide-react, radix-ui
- shadcn/ui components: button, table
- Installs to: `@/components/blocks/portfolio-pro/shop-products/product-comparison`

## About this block

Product Comparison lays three related products side by side
in one table. The header row names each pack, Everyday Pack
and Monochrome Pack at $29 and the Complete Suite at $79,
with a Best value chip on the largest. Six feature rows
follow, mixing counts (presets included), text values (free
updates, license scope), and included or not included marks
drawn with Check and Minus icons. A final row repeats a buy
button under every column.

The packs are one array and the feature rows another, so
each cell reads its value by pack id. A small CellValue
helper renders booleans as an icon with a screen reader
label and strings as plain text, which keeps the table
accessible. A closing line offers upgrade credit to anyone
who already owns a smaller pack.

## When to use

Reach for this when a buyer is choosing between a few
versions of the same work and needs the differences laid
out in one view. The installer swaps the pack names,
prices, and feature rows to match their own line up.

A natural flow around it on a Portfolio Pro page:

**Before**

- [Product grid](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/shop-products)
- [Pricing section](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/pricing-sections)

**After**

- [FAQ section](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/faq-sections)
- [CTA section](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/cta-sections)

## What you can display

One strong use is the preset pack comparison. Other
comparison uses:

- **Plan comparison.** Subscription tiers with quota and
  support rows instead of counts.
- **Print size comparison.** Editions by dimension, paper,
  and price across the columns.
- **Service package comparison.** Deliverables and
  turnaround times per package.

> Tip: keep the rows a buyer actually decides on; a short
> honest table beats a long one padded with rows everyone
> already expects.

## More in Portfolio Shop and Products

- [Bestseller Row](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/shop-products/bestseller-row)
- [Digital Downloads](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/shop-products/digital-downloads)
- [Featured Product](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/shop-products/featured-product)
- [License Tiers](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/shop-products/license-tiers)
- [Product Bundle](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/shop-products/product-bundle)
- [Product Categories](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/shop-products/product-categories)
- [Product Detail Card](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/shop-products/product-detail-card)
- [Product Grid](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/shop-products/product-grid)
- [Product List](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/shop-products/product-list)
- [Shop Hero](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/shop-products/shop-hero)
