Production-ready animations, transitions, backgrounds, and scenes for Remotion
TypeScript ai-agentsclaude-codedemo-videomcpmcp-servermodel-context-protocolmotion-designproduct-demoreactremotionshadcnvideo
---
title: RGB Glitch Text
description: Three RGB-offset text copies jitter for a few frames to create a chromatic aberration glitch
component: rgb-glitch-text
vibe: tech
length: 90
useWhen:
- "A tech, hacker, or cyberpunk scene needs a moment of digital corruption on a title."
- "You want a deterministic glitch that renders identically every time (use `seed` to vary it per clip)."
- "The entrance is already complete and you want a brief mid-scene disruption rather than a full reveal animation."
avoidWhen:
- "You need a full text entrance animation — the glitch is a momentary effect, not a reveal; use `tracking-in` or `soft-blur-in` to bring text in."
- "The brand aesthetic is clean or premium — RGB splits read as intentionally broken; use `shimmer-sweep` for a high-end shimmer moment instead."
- "The text is long — offset copies of a full paragraph are illegible during the glitch window; keep it to a short word or phrase."
- "The whole frame should break at a scene change rather than a headline mid-scene — use `glitch-cut`."
askedAs:
- "chromatic aberration glitch title"
- "cyberpunk glitch text"
- "I want a few frames of red green blue split jitter on my title"
- "hacker style digital corruption on a headline"
- "a tech scene where the title briefly breaks up like a bad signal"
- "short glitch burst to add edge to a hero text moment"
---
<ComponentPreview name="rgb-glitch-text" />
<InstallBlock name="rgb-glitch-text" />
## Usage
```tsx
// src/Root.tsx
import { Composition } from "remotion";
import { RGBGlitchText } from "@/components/remocn/rgb-glitch-text";
const RGBGlitchTextScene = () => (
<RGBGlitchText text="SYSTEM" glitchAt={20} glitchDuration={8} intensity={6} />
);
export const RemotionRoot = () => (
<Composition
id="RGBGlitchText"
component={RGBGlitchTextScene}
durationInFrames={90}
fps={30}
width={1280}
height={720}
/>
);
```
<PropsTable title="Props"
rows={[
{
name: "text",
type: "string",
required: true,
description: "The text to display and glitch",
},
{
name: "fontSize",
type: "number",
default: "96",
description: "Font size in pixels",
},
{
name: "color",
type: "string",
default: "\"#171717\"",
description: "Base text color (visible at all times)",
},
{
name: "fontWeight",
type: "number",
default: "700",
description: "CSS font-weight",
},
{
name: "glitchAt",
type: "number",
default: "20",
description: "Frame at which the glitch starts",
},
{
name: "glitchDuration",
type: "number",
default: "8",
description: "Duration of the glitch window in frames",
},
{
name: "intensity",
type: "number",
default: "6",
description: "Maximum offset (in pixels) for the RGB copies",
},
{
name: "seed",
type: "string",
default: "\"glitch\"",
description: "Seed used by `random()` so the jitter stays deterministic",
},
{
name: "speed",
type: "number",
default: "1",
description: "Playback speed multiplier (1 = normal, 2 = twice as fast)",
},
{
name: "className",
type: "string",
description: "Optional className passed to the inline-block wrapper",
},
]}
/>