Drift Gallery
A row of product cards drifting sideways on their own that you can grab and throw, and they keep going before they settle. Grab a card and its neighbours part to make room, with a filmic grain and colour wash over the whole thing that reacts to how hard you fling it.
One of 71 GSAP components in React, Vue and HTML.
On mobile
Take the free components with you.






In React, Vue and HTML, in your inbox, ready when you're back at your desk.
How it's built.
The cards drift on their own and you can grab and throw them with some momentum. What makes it feel right is the push - pick a card up and the ones next to it move out of the way to make room, and they don't just snap across, they go a touch too far and settle back, so it feels like you actually nudged something with a bit of weight.
There's also a film-style grade sitting over the whole thing, grain and a soft vignette and a bit of colour fringing that picks up when you throw the cards fast, so it reacts to how hard you drag. That grade is the main reason it's built in WebGL and not plain HTML, you need real rendering to lay that over a bunch of images and still keep them moving smoothly while you fling them around. You can pull it right back for a clean product look or push it for something grainier and more editorial.
Past that it's yours. Drop in your own images, set how fast it drifts, and dial the grade where you want it. On a phone it drops the cursor effects and just lets you swipe.
What you'll need.
Install
- GSAP
- three
- Draggable
- InertiaPlugin
Attributes, tips, use cases and full code are part of access.
The preview and provenance stay public. Tune-it docs, the data-anm-* attribute table, real-world use cases and the copy-ready code unlock the moment you sign in.
Frequently asked
- Does Drift Gallery work with React and Vue?
- Drift Gallery ships as React (Next.js included), Vue 3 (Nuxt included), plain HTML/CSS/JS - the same animation in each format. The React version uses the official useGSAP hook with cleanup handled; the Vue version is a real single-file component with <script setup>.
- Do I need GSAP to use Drift Gallery?
- Yes. Drift Gallery is built on GSAP directly, and GSAP has been 100% free for commercial use, including every plugin, since version 3.13. The component page lists exactly what to install.
- Can I customize Drift Gallery without editing code?
- Drift Gallery exposes 18 tunable controls in the Customize panel on this page - drag the values, watch the live preview respond, and the code you copy carries your exact settings.
- Is Drift Gallery free?
- Drift Gallery is part of the Annnimate Library, a paid subscription (from EUR 249/year). The live preview and customization run free on this page; the paste-ready code is for members.
- Can I use Drift Gallery in client projects?
- Yes. The Annnimate license covers commercial and client work - ship Drift Gallery on as many projects as you build, with no attribution required.
- Does Drift Gallery respect prefers-reduced-motion?
- Yes. Every Annnimate component handles prefers-reduced-motion via gsap.matchMedia, so users who opt out of motion get an effectively instant, readable state.
