Skip to main content
rule CX Codex

text-animations — Claude Code rule: text animation patterns for Remotion

text-animations — a rule with text animation patterns for Remotion: typewriter effect and word highlighting. Used for videos with dynamic typography.

no license ★ 849 updated 2026-01-24

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/rules/text-animations.md
Open on GitHub

What text-animations does

The rule provides two core animation patterns built on useCurrentFrame(). For a typewriter effect, slice the string character by character to reveal text smoothly, one symbol at a time. The second pattern highlights words like a marker pen. Both patterns include example implementations: typewriter with a blinking cursor and pause after the first sentence, plus word highlight animation during playback.

What it helps with

  • animate text appearing character by character in video
  • build typewriter effect with cursor for Remotion
  • highlight words during video playback
  • sync typography timing with video frames

Example prompts for the agent

  • Add text-animations rule to implement typewriter effect in your Remotion video
  • Use word highlight pattern to emphasize key phrases in a presentation
  • Apply typewriter with pause for better text readability

How to install text-animations

Manually: put the files in place

.claude/rules/text-animations.md

The paths frontmatter field limits the files

Step by step, with commands for each platform: AGENTS.md vs CLAUDE.md: what they are and which one to use

Questions about text-animations

How do I install text-animations in Claude Code?

Place the rule file at .claude/rules/text-animations.md in your project root. Claude Code will load it automatically in the next session.

What does the text-animations rule do?

Provides ready-to-use patterns for two animation styles in Remotion: typewriter effect and word highlighting with a pen-like marker.

Why use string slicing for typewriter instead of opacity changes?

String slicing creates smooth character-by-character animation, while opacity changes per character produce jittery results and make speed control harder.

Similar IDE rules

All IDE rules for Frontend and UI →

From the same set33

The whole set →

Project sponsors

Companies that keep this analytics open