# Category Shop Hero block

> Shop By Category ecommerce hero with editorial header and a four-tile image category grid

Category-browse hero for shop and storefront homepages: editorial eyebrow, headline, lede, See All link, and four square image tiles with name, count, and hover arrow. Uses shadcn Item. Keywords: shop by category, collections grid, product landing.

- 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-4
- MCP: `get_block("shop-hero-4")`
- Built with: Item
- Installs with a ReUI Pro or Ultimate license; setup: https://web.dev.reui.io/docs/license-setup

## Best for

A grid of 4 square category photos with the name and style count below each, under a headline and a See all 60 pieces link

## Agent notes

- `CATEGORIES` and `HEADER` are the only data; the 60 in `allLabel` is typed by hand, not summed from each `itemCount`
- No state or handlers here: every tile in `CategoryTile` is one anchor, so there is no add button or cart wiring to connect

## When not to use

- Individual products with prices and an add action rather than category entry points: use the [Product Grid blocks](https://web.dev.reui.io/blocks/ecommerce/product-grid.md)

## Install

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

## 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.
