# Text Swap: Rotating Headline

One headline swaps for another through staggered word or letter transitions. Copy this video template's code for Claude or Codex, or edit it in Subclip.

Canonical URL: https://www.subclip.app/motion-graphics-templates/remotion/text-swap

Preview video: https://subclipweb.subclip.app/motion-graphics-templates/v1/previews/motion-template-remotion-snapcn-text-swap.mp4?v=e73f60566c

A rotating headline animation that swaps one line of text for another, using staggered word or letter transitions.

- Framework: Remotion
- Category: Titles
- Duration: 3 s
- Aspect ratio: 16:9 landscape
- Code: Get the code (free sign-in): https://www.subclip.app/motion-graphics-templates/remotion/text-swap

The animation opens on one line of bold text centered on a light frame. After a short hold, that line exits piece by piece while the new line enters in its place, with the two motions overlapping so the swap feels continuous. The change can move word by word or letter by letter, and the transition style is selectable. It ends on the second line, such as a product name, roughly three seconds in.

Enter the starting text and the replacement text, then pick the transition and whether it works per word or per letter. Separate controls set the exit and entry lengths, the stagger on each side, how much they overlap and a small delay between steps. Font size, color, weight and font are also editable. Use it for before-and-after statements, feature rotations or a line that resolves into your brand name.

## Use it for

- Before and after statements
- Revealing a product name
- Rotating feature callouts
- Problem to solution transitions

## What you can change

- `speed`: Playback speed (Number)
- `fromText`: Starting text (Text)
- `toText`: Replacement text (Text)
- `transition`: Transition style (Text)
- `unit`: Word or letter mode (Text)
- `exitDuration`: Exit length (Number)
- `enterDuration`: Entry length (Number)
- `exitStagger`: Exit stagger (Number)
- `enterStagger`: Entry stagger (Number)
- `overlap`: Overlap (Number)
- `microDelay`: Small step delay (Number)
- `fontSize`: Font size (Number)
- `color`: Text color (Color)
- `fontWeight`: Font weight (Text)
- `fontFamily`: Font (Text)
- `stageBackground`: Background around the scene (Color)

## How to use this template

1. Download Subclip for Mac or Windows. Every template on this page comes pre-installed.
2. Open the Templates panel, pick Text Swap and drop it on your timeline.
3. Change the text, colors and timing in the layer settings, or ask the AI agent to edit it for you.
4. Export your video, or download the code to use the template in your own project.

Built on Text Swap from snapcn: https://snapcn.dev