Sign up and get 15% off every plan.

Sign up
Menu
Cards and galleriesReact and CSS With paid plans

Parallax gallery

An endless strip of your projects as coloured frames. Drag it, scroll it or use the arrow keys; it glides to a stop while the big number in each frame drifts the other way.

How to use

  1. Make two files in your project's components folder: parallax-gallery.tsx and parallax-gallery.module.css.
  2. Paste the code into each one, keeping the licence note at the top of the component.
  3. It needs nothing beyond React. Your project needs CSS Modules, which Next.js and Vite already have.
  4. Import it where you want it, then change the words, colours and sizes to yours.

The code

This comes with paid plans

The code for every component comes with paid plans, along with the rest of the AI toolkit. The first component under each heading is free.