# Bento Shop Hero block

> Bento-grid shop hero with featured campaign tile, quick-add product tiles, and sale promo block

Ecommerce bento-grid hero: a large campaign tile with eyebrow, headline, and dual CTA, three product tiles with price, compare-at price, badge, and quick Add to Cart, plus an inverted sale promo. ReUI Badge, shadcn Item, Button. Shop hero, storefront

- Type: Pro block
- Category: [Shop Hero](https://web.dev.reui.io/blocks/ecommerce/shop-hero.md)
- Page: https://web.dev.reui.io/blocks/ecommerce/shop-hero/shop-hero-2
- MCP: `get_block("shop-hero-2")`
- Built with: Badge, Button, Item
- Installs with a ReUI Pro or Ultimate license; setup: https://web.dev.reui.io/docs/license-setup

## Best for

A 4 column bento with a campaign photo across 2 by 2 cells, 3 product photos with icon quick add and an inverted sale tile

## Agent notes

- `addToCart` only sets `recentlyAdded` to flash a check for 1600 ms; nothing is added to a cart, so call your cart code there
- Replace `FEATURE_TILE`, `PRODUCT_TILES` and `PROMO_TILE`, the sample campaign, three products and the Up To 40% Off sale copy

## When not to use

- A first screen where shoppers flip between several collections inside one panel: use [Collection Switcher](https://web.dev.reui.io/blocks/ecommerce/shop-hero/shop-hero-7.md) (`get_block("shop-hero-7")`)

## Install

```bash
npx shadcn@latest add @reui/shop-hero-2
```

## About Shop Hero blocks

### When to use

- The opening screen of a storefront home page, told through a season, collection or brand story
- A sale or new drop launch that puts the offer, release status and shop links up front
- A first screen that routes shoppers into categories, collections or a few featured products

### When not to use

- The top of a software landing page led by an app console, code card or logo cloud: use the [Hero blocks](https://web.dev.reui.io/blocks/marketing/hero.md)
- A closing band that asks for a signup, an email or a sales call, with nothing to buy: use the [CTA blocks](https://web.dev.reui.io/blocks/marketing/cta.md)
- One offer built around a promo code the shopper copies before checkout: use the [Coupon blocks](https://web.dev.reui.io/blocks/ecommerce/coupon.md)

### Agent notes

- `Hero` takes no props, so its copy, links and photos are hardcoded in components/hero.tsx; lift them into props to reuse it
- Every `href` is a hash placeholder and every photo hotlinks images.unsplash.com; point them at your own routes and hosted images
- The only h1 is a sr-only one in each page.tsx, inside a `min-h-svh` main; `Hero` starts at h2, so give your page its own h1

Every ReUI item has a twin like this one; the index is https://web.dev.reui.io/llms.txt. Agents with the ReUI MCP (https://web.dev.reui.io/docs/mcp) get the same guidance from the getters named above.
