3D Marquee
Animated 3D marquee with perspective grid transforms and smooth scrolling images. Perfect for React applications requiring immersive visual displays with Next.js integration and TypeScript support.
Powered by
Installation
npx shadcn@latest add https://www.shadcn.io/registry/3d-marquee.json
npx shadcn@latest add https://www.shadcn.io/registry/3d-marquee.json
pnpm dlx shadcn@latest add https://www.shadcn.io/registry/3d-marquee.json
bunx shadcn@latest add https://www.shadcn.io/registry/3d-marquee.json
Features
- 3D perspective grid with rotated transforms and dynamic image positioning
- Smooth column animations with alternating vertical movement patterns using Motion
- Responsive scaling adapts to different screen sizes (50% mobile, 75% tablet, 100% desktop)
- Hover interactions with individual image lifting effects and shadow animations
- Grid line overlays with customizable horizontal and vertical decorative elements
- TypeScript support with comprehensive prop interfaces and type safety
- Motion integration compatible with shadcn/ui design system and Tailwind CSS
Examples
Fullscreen Hero
Immersive fullscreen layout with content overlay and background marquee effect.
Use Cases
This free open source React component works well for:
- Hero sections - Immersive landing page backgrounds built with Next.js
- Portfolio showcases - Creative image galleries using TypeScript and Motion
- Brand presentations - Dynamic visual displays with 3D perspective effects
- Background animations - Ambient content for modern web applications
API Reference
ThreeDMarquee
Prop | Type | Default | Description |
---|---|---|---|
images | string[] | required | Array of image URLs to display in the 3D grid |
className | string | undefined | Additional CSS classes for the marquee container |
GridLineHorizontal
Prop | Type | Default | Description |
---|---|---|---|
className | string | undefined | Additional CSS classes for the horizontal grid line |
offset | string | "200px" | Extension of the line beyond element boundaries |
GridLineVertical
Prop | Type | Default | Description |
---|---|---|---|
className | string | undefined | Additional CSS classes for the vertical grid line |
offset | string | "150px" | Extension of the line beyond element boundaries |
Implementation Notes
- Images are automatically distributed across 4 columns with alternating animations
- Component uses CSS 3D transforms with 55° X-rotation and -45° Z-rotation
- Alternating columns animate with 10s and 15s duration cycles
- Grid lines use CSS custom properties for theming and positioning
- Compatible with Motion's animation system and performance optimizations
- Requires container with defined height for proper 3D perspective display
Image Zoom
Click-to-zoom image component for React and Next.js applications. Built with TypeScript support, Tailwind CSS styling, and shadcn/ui design featuring smooth transitions, backdrop blur, and mobile-friendly interactions.
3D Pin
Interactive 3D pin container with perspective transforms and smooth hover animations. Perfect for React applications requiring stunning visual effects with Next.js integration and TypeScript support.