# Ecommerce Cross Sell: With Badges

Related products in a card grid where each item carries a badge for sale, new, or low stock. Adds urgency to nudge shoppers toward another buy.

- Page: https://www.shadcn-ui-blocks.com/blocks/ecommerce/ecommerce-cross-sells/with-badges
- 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/with-badges.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/ecommerce-ecommerce-cross-sells-with-badges
```

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-with-badges.json"`.

## Depends on

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

## About this block

With Badges is a cross-sell section built around a centered heading and
subheading followed by a three-column card grid. Each card holds a square
product image, a badge pinned to the top-left corner of the image, a
product title, a current price, an optional struck-through original price,
and a full-width "Add to Cart" button. Below the grid a ghost "View all
products" link gives shoppers a path to browse further.

The heading copy, subheading, and every field on each product card are
independent. You can run two cards or four, drop the original price on items
that are not on sale, swap the badge text and color to reflect your own
labels, and remove the view-all link without affecting the grid.

## When to use

Reach for this block when the cross-sell section needs to do more than list
items. The badges let you flag urgency or novelty ("Bestseller", "Limited
Time", "New Arrival") without adding extra layout. That makes it a better
fit than the plain grid sibling when you are promoting developer tools,
add-on licenses, or plan upgrades where scarcity or recency is part of the
pitch. It suits a checkout confirmation page, a post-purchase upsell, or
the lower section of a product detail page.

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 just viewed
- [Customer Reviews](https://www.shadcn-ui-blocks.com/blocks/ecommerce/ecommerce-customer-reviews) so
  shoppers have already seen social proof before the cross-sells appear

**After**

- [Bundle Upsells](https://www.shadcn-ui-blocks.com/blocks/ecommerce/ecommerce-bundle-upsells) if you want
  to follow with a discounted package offer
- [Trust Guarantee](https://www.shadcn-ui-blocks.com/blocks/ecommerce/ecommerce-trust-guarantee) to close
  with reassurance before the footer

## What you can display

The block suits any situation where a status label adds value to the
recommended item. A few specific cases:

- **Expiring promotions.** Use the destructive badge variant to call out a
  deal that ends soon, signalling to shoppers they should act now.
- **New releases or recent additions.** Tag a freshly launched add-on or
  plan tier so returning visitors spot what is new at a glance.
- **Top sellers.** Mark high-conversion items with a "Bestseller" badge to
  borrow the same social proof effect as a star rating without needing
  review data.

> Tip: keep badge labels to one or two words so they stay readable at
> small size and do not crowd the product image corner.

## 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)
- [Stacked List](https://www.shadcn-ui-blocks.com/blocks/ecommerce/ecommerce-cross-sells/stacked-list)
- [With Ratings](https://www.shadcn-ui-blocks.com/blocks/ecommerce/ecommerce-cross-sells/with-ratings)
