Spine Turn
Titles rise in large, then turn 90 degrees to become book spines along the bottom rule. A free, MIT-licensed Remotion text animation.
$ pnpm dlx shadcn@latest add @remocn/spine-turnUsage
// src/Root.tsx
import { Composition } from "remotion";
import { SpineTurn } from "@/components/remocn/spine-turn";
const SpineTurnScene = () => <SpineTurn titles={["Kickoff", "Deep dive", "Wrap-up"]} hold={26} />;
export const RemotionRoot = () => (
<Composition
id="SpineTurn"
component={SpineTurnScene}
durationInFrames={340}
fps={60}
width={1280}
height={720}
/>
);Each title rises in large over a hairline rule, holds, then rotates 90 degrees and shrinks into a spine at the bottom while the next title enters. The last title stays large. Pass titles and hold; accent and background override the colors, and it ships light and dark through theme.
Props11
| Prop | Type | Default |
|---|---|---|
| titles | string[]["Kickoff", "Deep dive", "Wrap-up"] Titles in order; each turns into a spine except the last. | |
| hold | number26 Frames each title holds before it turns. | |
| turn | number26 Frames for a title to turn onto its spine. | |
| fontWeight | number500 Weight of the titles. | |
| accent | string— Hero title color. Defaults to the theme accent. | |
| background | string— Stage color. Use "transparent" to composite over other layers. | |
| fontFamily | string"IBM Plex Sans" 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. | |
- titlesstring[]
Titles in order; each turns into a spine except the last.
Default
["Kickoff", "Deep dive", "Wrap-up"] - holdnumber
Frames each title holds before it turns.
Default
26 - turnnumber
Frames for a title to turn onto its spine.
Default
26 - fontWeightnumber
Weight of the titles.
Default
500 - accentstring
Hero title color. Defaults to the theme accent.
- backgroundstring
Stage color. Use "transparent" to composite over other layers.
- fontFamilystring
Typeface for the copy. Load the font in your project first.
Default
"IBM Plex Sans" - 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"