---
title: "Product row"
description: "A sideways-scrolling row of product cards with previous and next buttons by the heading."
plan: Pro
docs: https://ui.edbn.me/docs/blocks/product-row
---

# Product row

A sideways-scrolling row of product cards with previous and next buttons by the heading.

Built from Carousel, Button, Badge, Tooltip and Toast. About four cards show on desktop and one and a half on phones, so the cut card says there's more. Previous and next disable at either end; arrow keys and swipe move the row too, and it never moves on its own. After each move a status message says which cards are in view. Cards match the product grid: one link each, quick add on the photo, sale and sold-out states.

A Pro block built on Base UI and Tailwind CSS v4.

## Installation

This is a Pro item. Once per project, create a token at https://ui.edbn.me/dashboard/tokens, put it in `.env.local` as `EDBN_TOKEN`, and add the registry to `components.json`:

```json
{
  "registries": {
    "@edbn": {
      "url": "https://ui.edbn.me/r/{name}.json",
      "headers": { "Authorization": "Bearer ${EDBN_TOKEN}" }
    }
  }
}
```

Then install:

```bash
npx shadcn@4.19.0 add @edbn/product-row
```

## Dependencies
- npm: lucide-react@^1.33.0
- edbn: edbn-base, aspect-ratio, badge, button, carousel, text-link, toast, tooltip

## Source

The source is part of Pro (https://ui.edbn.me/pricing). The install above adds it to the project, ready to edit.

## More product lists blocks

All 4, with install commands: https://ui.edbn.me/docs/blocks/product-lists · https://ui.edbn.me/docs/blocks/product-lists.md

## For agents
- Base theme, once per project: npx shadcn@4.19.0 add https://ui.edbn.me/r/edbn-base.json
- MCP server with search, items, examples and source: https://ui.edbn.me/mcp
- Every page and item: https://ui.edbn.me/llms.txt
