Scenes
Gallery Drift
A body of work behind a headline: two rows of screenshot cards drift slowly in opposite directions while the headline holds on a hairline plate in front.
- Type
- Animation
- Duration
- 4.5s
- Category
- Scenes
- Source
- Imgcli
Install
A body of work behind a headline: two rows of screenshot cards drift slowly in opposite directions while the headline holds on a hairline plate in front.
Installation
npx @imgcli/cli add gallery-driftUsage
import { GalleryDrift } from "@/components/imgcli/gallery-drift";
<GalleryDrift />Render at 30 fps for 135 frames (4.5 seconds) with the default props. The preview uses a 960 × 540 canvas.
Use <GalleryDrift headline="Every page, ready to film." images={["/a.png", "/b.png"]} /> for 135 frames at 30 fps (GALLERY_DRIFT_SECONDS). drift sets how fast the rows travel.
| Prop | Type | Default | Description |
|---|---|---|---|
headline | string | "Every page, ready to film." | |
sub | string | "Your product's own screens, in motion." | |
images | readonly string[] | [cardHome, cardGallery, cardComponent, cardStudio] | 16:10 images, reused round-robin to fill both rows. |
drift | number | 38 | Pixels a second each row travels, on a 540px-tall canvas. |
fontFamily | string | — | A face from the Imgcli font list, or any loaded CSS font stack. |
theme | Partial<ImgcliTheme> | — | |
mode | "light" | "dark" | — | |
speed | number | 1 |
License
MIT. Free for personal and commercial use. Preserve the copyright and license notice.
Copyright (c) 2026 Ricky (Imgcli) <https://imgcli.com>
Frequently asked questions
How do I add Gallery Drift to a Remotion project?
Run npx @imgcli/cli add gallery-drift in your Remotion project. The CLI copies the editable source into components/imgcli/ under your source root and installs its dependencies.
What is Gallery Drift?
Gallery Drift is a Remotion screenshot wall animation for React. A body of work behind a headline: two rows of screenshot cards drift slowly in opposite directions while the headline holds on a hairline plate in front.
What do I need before using Gallery Drift?
Use Node.js 20.19 or newer and an existing Remotion project. Create one with npx create-video@latest. The component is free and MIT licensed.