A skewed grid of image columns that scroll in opposite directions. Built with motion. Bundled photos install under components/3d/image-marquee/images. For the CSS text/card strip, see Marquee.
Default
Four columns tilt in space and drift up and down. Demo frames ship with the install.
Loading…
Installation
CLI
Also needs
npm i motionUsage
page.tsx
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| images | MarqueeImage[] | bundled demo | Tiles with `src`, `alt`, and optional `href` / `target`. |
| cols | number | 4 | Column count from `sm` up (clamped 2–6). Mobile uses 2. |
| onImageClick | (image, index) => void | - | Click handler. When set, it runs instead of opening `href`. |
| className | string | - | Classes on the outer section. |