# Ecommerce Cross Sell: Stacked List

Suggested products in a vertical stacked list with thumbnail, name, and price. Fits a narrow sidebar or cart drawer to keep cross sells visible.

- Page: https://www.shadcn-ui-blocks.com/blocks/ecommerce/ecommerce-cross-sells/stacked-list
- Collection: [Ecommerce](https://www.shadcn-ui-blocks.com/blocks/ecommerce), Free tier
- Group: [Cross Sells](https://www.shadcn-ui-blocks.com/blocks/ecommerce/ecommerce-cross-sells)
- Created: 2026-06-14
- Preview image: https://www.shadcn-ui-blocks.com/blocks/ecommerce/ecommerce-cross-sells/stacked-list.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/ecommerce-ecommerce-cross-sells-stacked-list
```

A free block: it installs with no account or key. Or install it by URL: `npx shadcn@latest add "https://www.shadcn-ui-blocks.com/r/ecommerce-ecommerce-cross-sells-stacked-list.json"`.

## Depends on

- npm packages: class-variance-authority, radix-ui
- shadcn/ui components: button, card
- Installs to: `@/components/blocks/ecommerce/ecommerce-cross-sells/stacked-list`

## About this block

Stacked List is a narrow cross-sell panel. A "You might also like" heading
sits above a vertical stack of cards, one per suggested product. Each card
holds a small square thumbnail on the left, a product name and price in the
centre, and a compact "Add" button pinned to the right edge. The list renders
inside a constrained column, so the whole panel fits naturally in a sidebar
or a cart drawer without competing with the main content area.

The heading copy, the number of products in the list, and the thumbnail,
name, and price for each item are all independent. You can trim the list to
two items for a tight sidebar or expand it to five or six for a wider drawer.
Remove any product entry that is not relevant and the layout adjusts without
any structural changes.

## When to use

Reach for this block when you need cross-sell suggestions in a constrained
horizontal space. It works best alongside a cart drawer, a checkout summary
column, or a product page sidebar where a full grid would feel too heavy.
For a storefront brand selling accessories or companion products, the compact
row layout keeps suggestions visible without pulling the shopper off the
path to purchase. When you have more horizontal room and want each product
to carry a stronger visual, the
[Simple Grid](https://www.shadcn-ui-blocks.com/blocks/ecommerce/ecommerce-cross-sells/simple-grid) is a
better fit.

A natural flow around it on an Ecommerce page:

**Before**

- [Product Overview](https://www.shadcn-ui-blocks.com/blocks/ecommerce/product-overview) to anchor the
  primary product the shopper is viewing
- [Shopping Cart](https://www.shadcn-ui-blocks.com/blocks/ecommerce/shopping-cart) so the cross-sell panel
  sits beside a cart summary

**After**

- [Customer Reviews](https://www.shadcn-ui-blocks.com/blocks/ecommerce/ecommerce-customer-reviews) to
  reinforce confidence after the shopper sees related picks
- [Trust Guarantee](https://www.shadcn-ui-blocks.com/blocks/ecommerce/ecommerce-trust-guarantee) to close
  the section with reassurance about the purchase

## What you can display

The block is built for compact companion product suggestions. A few concrete
ways to fill it:

- **Accessories and add-ons.** List items that pair directly with the main
  product, such as cases, cables, or protective kits, with their individual
  prices.
- **Frequently bought together items.** Surface the products your data shows
  are most often combined in a single order to lift average order value.
- **Recently viewed products.** Swap in a personalised list of items the
  shopper browsed earlier to bring them back to near-misses.

> Tip: keep the list to three or four items so the panel stays short enough
> to sit fully visible in a sidebar without requiring the shopper to scroll.

## More in Ecommerce Cross Sells

- [Feature Icons](https://www.shadcn-ui-blocks.com/blocks/ecommerce/ecommerce-cross-sells/feature-icons)
- [Simple Grid](https://www.shadcn-ui-blocks.com/blocks/ecommerce/ecommerce-cross-sells/simple-grid)
- [With Badges](https://www.shadcn-ui-blocks.com/blocks/ecommerce/ecommerce-cross-sells/with-badges)
- [With Ratings](https://www.shadcn-ui-blocks.com/blocks/ecommerce/ecommerce-cross-sells/with-ratings)
