# Circular Carousel · Pro

Cards stand on a ring in 3D and the whole ring turns: drag, scroll or arrow keys, with the card facing you scaled up and the rest dimming into depth. Release snaps to a card.

This is a Charcoal UI Pro component. Its source and examples are available with a Pro seat: https://charcoalui.com/pricing

## With a Pro seat

1. Add the registry to components.json:

```json
{
  "registries": {
    "@charcoal": {
      "url": "https://charcoalui.com/r/{name}.json",
      "headers": {
        "Authorization": "Bearer ${CHARCOAL_LICENSE_KEY}"
      }
    }
  }
}
```

2. Copy your licence key from https://charcoalui.com/dashboard and put it in .env.local as CHARCOAL_LICENSE_KEY, then:

```bash
npx shadcn@latest add @charcoal/circular-carousel
```

To read Pro source through this MCP server, reconnect it with the header "Authorization: Bearer <licence key>".

## API — Circular Carousel
| Prop | Type | Default | Notes |
| --- | --- | --- | --- |
| `items` | `{ src: string; title?: string; alt?: string }[]` | — |  |
| `radius` | `number` | `260` |  |
| `autoRotate` | `boolean` | `false` |  |
| `speed` | `number` | `30` | Seconds per turn when auto-rotating. |
| `cardWidth` | `number` | `180` |  |
| `onChange` | `(index: number) => void` | — |  |
| `className` | `string` | — |  |

See it live: https://charcoalui.com/docs/components/circular-carousel