3D Marquee
- Source
- Aceternity UI ↗
- Author
- Aceternity UI
- Licence
- Aceternity UI licence (free component)
Loading…
Columns of screenshots drift up and down on a tilted isometric plane.
Code
"use client";
import { Fit } from "./_fit";
import { ThreeDMarquee } from "@/lab/aceternity/ui/3d-marquee";
export default function ThreeDMarqueeDemo() {
const images = [
"https://assets.aceternity.com/cloudinary_bkp/3d-card.png",
"https://assets.aceternity.com/animated-modal.png",
"https://assets.aceternity.com/animated-testimonials.webp",
"https://assets.aceternity.com/cloudinary_bkp/Tooltip_luwy44.png",
"https://assets.aceternity.com/github-globe.png",
"https://assets.aceternity.com/glare-card.png",
"https://assets.aceternity.com/layout-grid.png",
"https://assets.aceternity.com/flip-text.png",
"https://assets.aceternity.com/hero-highlight.png",
"https://assets.aceternity.com/carousel.webp",
"https://assets.aceternity.com/placeholders-and-vanish-input.png",
"https://assets.aceternity.com/shooting-stars-and-stars-background.png",
"https://assets.aceternity.com/signup-form.png",
"https://assets.aceternity.com/cloudinary_bkp/stars_sxle3d.png",
"https://assets.aceternity.com/spotlight-new.webp",
"https://assets.aceternity.com/cloudinary_bkp/Spotlight_ar5jpr.png",
"https://assets.aceternity.com/cloudinary_bkp/Parallax_Scroll_pzlatw_anfkh7.png",
"https://assets.aceternity.com/tabs.png",
"https://assets.aceternity.com/cloudinary_bkp/Tracing_Beam_npujte.png",
"https://assets.aceternity.com/cloudinary_bkp/typewriter-effect.png",
"https://assets.aceternity.com/glowing-effect.webp",
"https://assets.aceternity.com/hover-border-gradient.png",
"https://assets.aceternity.com/cloudinary_bkp/Infinite_Moving_Cards_evhzur.png",
"https://assets.aceternity.com/cloudinary_bkp/Lamp_hlq3ln.png",
"https://assets.aceternity.com/macbook-scroll.png",
"https://assets.aceternity.com/cloudinary_bkp/Meteors_fye3ys.png",
"https://assets.aceternity.com/cloudinary_bkp/Moving_Border_yn78lv.png",
"https://assets.aceternity.com/multi-step-loader.png",
"https://assets.aceternity.com/vortex.png",
"https://assets.aceternity.com/wobble-card.png",
"https://assets.aceternity.com/world-map.webp",
];
return (
<Fit width={1200} height={640}>
<div className="h-full w-full rounded-3xl bg-gray-950/5 p-2 ring-1 ring-neutral-700/10 dark:bg-neutral-800">
<ThreeDMarquee images={images} className="h-full max-sm:h-full" />
</div>
</Fit>
);
}
Prompt
Build "3D Marquee", a 3d animation. What it does: Columns of screenshots drift up and down on a tilted isometric plane. Write it as a single self-contained React component in TypeScript that fills its parent (w-full h-full), styled with Tailwind CSS, using motion. Technique: the Motion library. It sits on a light background, in a 16:10 frame. Respect prefers-reduced-motion with a still state, pause work when the element is off screen, and keep it accessible. Original: https://ui.aceternity.com/components/3d-marquee (Aceternity UI, Aceternity UI licence (free component)).