Free · MIT licence · No dependencies

Curved Reel Free React component

An endless film reel bent around you: panels sit on the inside of a cylinder, so the ones at the edges curve toward the viewer. It drifts on its own and you can drag to scrub it. A cinematic way to show a portfolio.

  • React
  • CSS
  • Images
  • 3D
  • Marquee
Curved Reel

Get the code

Install in one linenpx shadcn@latest add https://alphenex.com/r/curved-reel.json

Works with any React project through the shadcn CLI. Prefer to paste it yourself? Copy the two files below into components/alphenex/. No Tailwind or animation library needed.

import CurvedReel from '@/components/alphenex/curved-reel';

<CurvedReel images={[{ src: '/work-1.jpg', alt: 'Project one' }, /* ... */]} />

How the curved reel works

The panels are placed on the inside wall of a cylinder: each one is turned by its share of 360 degrees and pushed back by the radius, so it faces the centre.

The ring is then moved forward by the same radius, which puts the camera inside the cylinder. That is why the edge panels bend toward you instead of away.

The component works out how many panels fill the whole circle and repeats your images to fill it, so the reel loops without a seam while it drifts or you drag it.

Frequently asked questions

Lower the radius. A small radius bends the reel tightly, a large one makes it almost flat.

Want motion like this on your website?

We design and build custom websites with motion, 3D and SEO built in. Websites from $500.

More free components

Explore our work