---
title: "Collection carousel"
description: "A snapping rail of product cards with their glazes as swatches, under a heading row with View all and previous and next."
plan: Pro
docs: https://ui.edbn.me/docs/blocks/collection-carousel
---

# Collection carousel

A snapping rail of product cards with their glazes as swatches, under a heading row with View all and previous and next.

Built on Carousel: four cards show on a wide page, three on tablets and about two on phones with the next one peeking in. The rail snaps a page at a time and also moves by swipe, drag or the arrow keys. Previous and next sit in the heading row beside View all; at either end a button dims but stays focusable, and each move is read out, such as Pieces 5 to 8 of 8. Each card is one link with its photo, name, price and glazes as small swatches with a count. Focus rings the photo from inside, so the rail's edge never clips it.

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/collection-carousel
```

## Dependencies
- edbn: edbn-base, aspect-ratio, carousel, text-link

## 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 5, with install commands: https://ui.edbn.me/docs/blocks/product-lists (Markdown: 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
