---
title: "Category tiles"
description: "A shop's categories as photo tiles: one large tile beside a two-by-two grid, each named with a count."
plan: Pro
docs: https://ui.edbn.me/docs/blocks/category-tiles
---

# Category tiles

A shop's categories as photo tiles: one large tile beside a two-by-two grid, each named with a count.

Built from AspectRatio and TextLink. Each tile is one link, named under its photo with how many pieces it holds. On hover the photo eases up a little inside its frame, and stays still when motion is reduced. On phones the large tile spans the top and the others sit two to a row.

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/category-tiles
```

## Dependencies
- edbn: edbn-base, aspect-ratio, 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 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
