# Ecommerce Empty State: Compare List Empty

An empty compare page blueprint with three dashed product slots above skeleton spec rows, a headline, and a primary action to add products.

- Page: https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/empty-states/compare-list-empty
- Collection: [Ecommerce](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro), Standard tier
- Group: [Empty States](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/empty-states)
- Created: 2026-07-04
- Preview image: https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/empty-states/compare-list-empty.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/ecommerce-pro-empty-states-compare-list-empty
```

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
- Installs to: `@/components/blocks/ecommerce-pro/empty-states/compare-list-empty`

## About this block

Compare List Empty draws the tool before anything fills it,
three dashed slots labelled add a product sit above the exact
spec rows the table will compare, price, weight, main
material, laptop sleeve, water resistance, warranty, each
rendered as a skeleton bar. The blueprint teaches the feature
at a glance, pick up to three and every row lines up side by
side. A single primary action starts the pick and the
headline keeps it plain, nothing to compare yet.

Spec rows and slots are two arrays, the skeleton widths are
decorative and swap for real values once products land. The
footer note previews a real behaviour, rows where all three
match can fold away so the differences carry the page.

## When to use

Reach for this block as the empty state of the
[comparison tables](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/comparison-tables)
page, before any product is added to the set. The spec rows
should mirror the live comparison schema so the blueprint is
honest.

A natural flow around it on an Ecommerce Pro page:

**Before**

- [Product grids](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/product-grids) where
  products get picked

**After**

- The filled comparison,
  [comparison tables](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/comparison-tables)
- [Spec sections](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/spec-sections) for
  the single product view

## What you can display

One strong use is the three slot blueprint. Other empty
compares:

- **Two up compare.** A narrower table for head to head, two
  slots and the same spec spine.
- **Category locked.** Slots that accept one category only,
  the rule stated above the grid.
- **Saved comparisons.** An empty saved list, the blueprint
  doubling as the prompt to build one.

> Tip: showing the spec rows as skeletons before anything is
> picked tells people exactly what the table compares, a
> blueprint sells the feature better than an empty box and a
> button.

## More in Ecommerce Empty States

- [Account Signed Out State](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/empty-states/account-signed-out-state)
- [Category Sold Out State](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/empty-states/category-sold-out-state)
- [Empty Cart State](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/empty-states/empty-cart-state)
- [Empty Wishlist State](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/empty-states/empty-wishlist-state)
- [Filter No Results](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/empty-states/filter-no-results)
- [Notifications Empty State](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/empty-states/notifications-empty-state)
- [Order History Empty State](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/empty-states/order-history-empty-state)
- [Reviews Empty State](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/empty-states/reviews-empty-state)
- [Rewards Empty State](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/empty-states/rewards-empty-state)
- [Search No Results](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/empty-states/search-no-results)
- [Store 404](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/empty-states/store-404)
