Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Apply best practices for creating programmatic videos with Remotion and React
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
rules/text-animations.md
1---2name: text-animations3description: Typography and text animation patterns for Remotion.4metadata:5tags: typography, text, typewriter, highlighter ken6---78## Text animations910Based on `useCurrentFrame()`, reduce the string character by character to create a typewriter effect.1112## Typewriter Effect1314See [Typewriter](assets/text-animations-typewriter.tsx) for an advanced example with a blinking cursor and a pause after the first sentence.1516Always use string slicing for typewriter effects. Never use per-character opacity.1718## Word Highlighting1920See [Word Highlight](assets/text-animations-word-highlight.tsx) for an example for how a word highlight is animated, like with a highlighter pen.21