Production-ready animations, transitions, backgrounds, and scenes for Remotion
TypeScript ai-agentsclaude-codedemo-videomcpmcp-servermodel-context-protocolmotion-designproduct-demoreactremotionshadcnvideo
---
title: Perspective Marquee
description: A 3D-tilted infinite marquee with depth-of-field blur on items rolling toward the horizon
component: perspective-marquee
vibe: premium
length: 240
useWhen:
- "A dark, cinematic background treatment is needed with text rolling into a 3D vanishing point."
- "Feature names, brand words, or a tagline list should scroll with depth and atmosphere rather than flat."
- "The scene calls for a premium looping background element that holds for 4–8 seconds without feeling static."
avoidWhen:
- "A flat, 2D looping ticker is sufficient — use `infinite-marquee` for a simpler, lighter strip with no perspective transform."
- "The marquee should stop or the words should land on a specific item — both marquee components loop indefinitely; compose a `Sequence` with a static component for a hold state."
- "The background is light-colored — the default `fadeColor=\"#050505\"` creates edge fades tuned for dark scenes; adapt carefully or use `infinite-marquee` on light backgrounds."
askedAs:
- "3D scrolling text wall into horizon"
- "tilted endless ticker blur"
- "I want rows of text racing into a vanishing point with blurred depth"
- "cinematic dark background with feature names rolling away in perspective"
- "a moody hero backdrop listing features in endless 3D scroll"
- "a futuristic moment where words stream toward the horizon behind the product"
---
<ComponentPreview name="perspective-marquee" />
<InstallBlock name="perspective-marquee" />
## Usage
```tsx
// src/Root.tsx
import { Composition } from "remotion";
import { PerspectiveMarquee } from "@/components/remocn/perspective-marquee";
const PerspectiveMarqueeScene = () => (
<PerspectiveMarquee
items={["Vercel", "Linear", "Stripe", "Figma"]}
rotateY={-28}
pixelsPerFrame={2}
/>
);
export const RemotionRoot = () => (
<Composition
id="PerspectiveMarquee"
component={PerspectiveMarqueeScene}
durationInFrames={240}
fps={30}
width={1280}
height={720}
/>
);
```
### With Backdrop
Renders transparent — supply the background via `Backdrop`:
```tsx
import { Backdrop } from "@/components/remocn/backdrop";
import { PerspectiveMarquee } from "@/components/remocn/perspective-marquee";
<Backdrop fill={{ type: "color", value: "#050505" }}>
<PerspectiveMarquee items={["Vercel", "Linear", "Stripe", "Figma"]} rotateY={-28} pixelsPerFrame={2} />
</Backdrop>
```
<PropsTable title="Props"
rows={[
{
name: "items",
type: "string[]",
default: "[\"Vercel\", \"Linear\", \"Stripe\", \"Figma\", \"Notion\", \"Raycast\", \"Arc\", \"Cursor\"]",
description: "Items rendered in the marquee. Repeated three times under the hood for a seamless loop.",
},
{
name: "fontSize",
type: "number",
default: "84",
description: "Font size in pixels",
},
{
name: "color",
type: "string",
default: "\"#fafafa\"",
description: "Text color of each item",
},
{
name: "fontWeight",
type: "number",
default: "700",
description: "CSS font-weight",
},
{
name: "pixelsPerFrame",
type: "number",
default: "2",
description: "Horizontal scroll speed in pixels per frame",
},
{
name: "rotateY",
type: "number",
default: "-28",
description: "Y-axis rotation in degrees applied to the marquee row",
},
{
name: "rotateX",
type: "number",
default: "8",
description: "X-axis rotation in degrees applied to the marquee row",
},
{
name: "perspective",
type: "number",
default: "1200",
description: "CSS perspective in pixels on the parent",
},
{
name: "fadeColor",
type: "string",
default: "\"#050505\"",
description: "Color used in the edge vignette gradients",
},
{
name: "speed",
type: "number",
default: "1",
description: "Playback speed multiplier",
},
{
name: "className",
type: "string",
description: "Optional className passed to the root container",
},
]}
/>