Tategaki Turn
Words drop in as vertical columns, then swing upright into one horizontal line. A free, MIT-licensed Remotion text animation.
$ pnpm dlx shadcn@latest add @remocn/tategaki-turnUsage
// src/Root.tsx
import { Composition } from "remotion";
import { TategakiTurn } from "@/components/remocn/tategaki-turn";
const TategakiTurnScene = () => <TategakiTurn text="Read it both ways." highlight={3} />;
export const RemotionRoot = () => (
<Composition
id="TategakiTurn"
component={TategakiTurnScene}
durationInFrames={240}
fps={60}
width={1280}
height={720}
/>
);Each word of text drops in as a vertical column, letter by letter. After a hold, the columns swing 90 degrees and travel into a single horizontal line while the type scales up. The highlight word, the last by default, takes the accent color; it ships light and dark through theme.
Props12
| Prop | Type | Default |
|---|---|---|
| text | string"Read it both ways." The phrase; each word becomes a vertical column. | |
| highlight | number— Index of the word set in the accent color. Defaults to the last. | |
| hold | number16 Frames the vertical columns hold before they turn. | |
| stagger | number5 Frames between words dropping into their columns. | |
| accent | string— Highlight color. Defaults to vermilion. | |
| ink | string— Text color; overrides the theme ink. | |
| background | string— Stage color. Overrides the theme background. | |
| fontFamily | string"Zen Kaku Gothic New" Typeface for the copy. Load the font in your project first. | |
| scale | number1 Size of the foreground around the frame's center; the background stays put. | |
| delay | number0 Frames to hold the first frame before anything moves. | |
| speed | number1 Playback speed multiplier. | |
| theme | "dark" | "light""dark" Light or dark ground; ships both. | |
- textstring
The phrase; each word becomes a vertical column.
Default
"Read it both ways." - highlightnumber
Index of the word set in the accent color. Defaults to the last.
- holdnumber
Frames the vertical columns hold before they turn.
Default
16 - staggernumber
Frames between words dropping into their columns.
Default
5 - accentstring
Highlight color. Defaults to vermilion.
- inkstring
Text color; overrides the theme ink.
- backgroundstring
Stage color. Overrides the theme background.
- fontFamilystring
Typeface for the copy. Load the font in your project first.
Default
"Zen Kaku Gothic New" - scalenumber
Size of the foreground around the frame's center; the background stays put.
Default
1 - delaynumber
Frames to hold the first frame before anything moves.
Default
0 - speednumber
Playback speed multiplier.
Default
1 - theme"dark" | "light"
Light or dark ground; ships both.
Default
"dark"