About
Word Swap Line is a text animation for Remotion videos. Introduces an idea through moving typography. Plays 4 seconds in 9:16, 1:1 and 16:9, with editable text, items, colors and fonts.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Word Swap Line to your project and fits it to your theme.
Code
How Word Swap Line is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
// Built with Remotion - https://remotion.pro/license
import { Composition } from "remotion";
import { Component } from "./video/word-swap/word-swap";
import { schema, defaults } from "./video/word-swap/word-swap.schema";
export const WordSwapLineComposition = () => (
<Composition
id="word-swap"
component={Component}
schema={schema}
defaultProps={defaults}
durationInFrames={120}
fps={30}
width={1920}
height={1080}
/>
);
















