Curved Reel, animated React component
- Pro
- 3D Components
- 3D
An endless reel of posters bent around the inside of a curve: the centre cards sit back and pinch in while the edge cards swing round and come forward. It drifts on its own, and you can drag it or fling it to coast.
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| posters | ReelPoster[] | — | Each poster has bg, fg, big (the large glyph), small (caption) and an optional serif flag. Defaults to ten type posters. |
| cardSize | number | 1 | Size of each poster, 0.7 to 1.3. The reel gets taller with it. |
| gap | number | 16 | Space between posters in pixels, 0 to 48. |
| curve | number | 1 | How much the reel bends, 0 to 1.6. 0 lays it flat; higher swings the edge posters round and pushes the centre back. |
| speed | number | 38 | How fast the reel drifts when autoplay is on, in pixels per second, 10 to 120. |
| glide | number | 1 | How far the reel coasts after a fling, 0.3 to 3. Higher glides further. |
| autoplay | boolean | false | Drifts the reel at 38px per second; it pauses for 2.5 seconds after a drag or key press. Off by default: the reel moves when you drag it. |
Add it to your project
- 1
Set up your project once
You need a Next.js project with Tailwind CSS and the
@/import alias. In its root folder, run this once. It createscomponents.jsonand thecn()helper insrc/lib/utils.ts:npx shadcn@latest init -d
Starting from nothing? The Quick Start walks through the whole thing.
- 2
Connect the registry with your API key
Curved Reel is a Pro item, so the CLI has to send your API key. Do this once per project:
- Create a key at nexus-ui.com/dashboard/api-key. Copy it straight away: it starts with
nxs_and is shown only once. - In your project root, next to
package.json, create a file named.env.localwith this line, using your own key:NEXUS_API_KEY=nxs_your_key_here
- Open
components.jsonand add this entry inside the outermost braces, next to"aliases". Leave{name}and${NEXUS_API_KEY}exactly as written; the CLI fills them in:"registries": { "@nexus-labs": { "url": "https://www.nexus-ui.com/api/registry/{name}", "headers": { "Authorization": "Bearer ${NEXUS_API_KEY}" } } }
- Create a key at nexus-ui.com/dashboard/api-key. Copy it straight away: it starts with
How Curved Reel works
A reel of posters on the inside of a curve: cards at the centre sit back and pinch in, cards toward the edges swing round, grow and come forward. It drifts
The source, the install command and the build prompt come with Pro.

