Bend Rail — Curved Image Carousel Component

Bend Rail is a 6.58 KB gzipped, zero-dependency curved image carousel component for vanilla JavaScript, React (TypeScript) and Webflow — built with plain DOM and CSS, no WebGL. It has 8 live settings (Bend, Tilt, Squash, Friction, Size, Gap, Radius and Auto), is driven by touch, mouse and keyboard, and moves the same at 60 and 120 Hz.

Choose how deep the rail bends with speed, how far the cards tilt and squash along the curve, and how soon it settles. Size, gap and corners are yours, and Auto keeps it running on its own.

Bend Rail, preview of the component

What it is

Endless photo rail that bends into an arc with its own speed and lies flat again at rest: frame-rate independent throw, wheel, touch and keys, cards along the curve, recycled DOM.

When to use it

Hero or section that shows a series of visual pieces in a row: a portfolio strip, a studio's latest work, a lookbook, a product range.

Controls

It moves the same at 60 or 120 Hz, follows touch and arrow keys, and respects the system’s reduced motion setting.

Code

A vanilla JS module, a typed React component and a Webflow embed, all from one engine: 6.58 KB gzipped, styles included, with no dependencies. Get code also hands your AI assistant a note to install it for you.

License

Unlimited personal and commercial use with Pro: your own sites and your clients’, as many projects as you like, worldwide, with no credit required. The code itself is not to be resold, shared, or bundled into a kit or a template sold on its own.

Unlock with Pro

FAQ

How much does Bend Rail weigh, and what does it need?

6.58 KB gzipped, engine and styles together (6,740 bytes), with no dependency: no library, no framework and no WebGL. It lays plain DOM cards along the arc with CSS transforms and recycles them as the rail runs, so it never ends. The same engine runs in vanilla JS, a typed React component and a Webflow embed.

Where does Bend Rail fit best?

A hero or a section showing a series in a row: a portfolio strip, a studio’s latest work, a lookbook, a product range. On touch screens a sideways swipe moves the rail and the page keeps its own vertical scroll.

What is the Vault?

A library of interactive galleries and type effects for the web, included with Memorables Pro. Each page plays the effect in a 60 fps preview; its live demo and its code open once you are a Pro member.

Can I try an effect before going Pro?

You can watch it: every effect plays in a 60 fps preview on its page. The interactive demo, with every setting on a slider, and the code come with Pro.

Which plan includes the Vault?

Pro, billed yearly. It opens every effect’s live demo, then Get code: the effect in vanilla JS, as a typed React component and as a Webflow embed, with the settings you chose, a ZIP of its files and a note your AI assistant can follow to install it. Free and Plus do not include the Vault.

Can I use it in client work?

Yes. Pro covers personal and commercial use, on your own sites and on your clients’. Only the code itself can’t be resold or shared, alone or in a kit.

More from the Vault

Related inspiration

For video and campaigns, the Shop sells After Effects Templates and AI Stock Photos, 15% off Personal and Commercial licenses with Pro.

Memorables