Production-ready animations, transitions, backgrounds, and scenes for Remotion
TypeScript ai-agentsclaude-codedemo-videomcpmcp-servermodel-context-protocolmotion-designproduct-demoreactremotionshadcnvideo
---
title: Page Turn
description: The exiting scene swings up and away like a notebook page in stop-motion poses
component: page-turn
vibe: paper
length: 128
useWhen:
- "Act breaks in paper or scrapbook stop-motion videos — the current page physically leaves and the next scene is already living beneath it."
- "You want the outgoing scene to pass IN FRONT of the incoming one. This is the only transition in the catalog that does that: the exiting wrapper takes `zIndex: 2`, inverting the TransitionSeries default."
avoidWhen:
- "You need a smooth cinematic cut between UI scenes — use `whip-pan` or `push-through`."
- "You want a dissolve — use the shader dissolve family."
- "The entering scene needs its own entrance animation: here the reveal IS the entrance, and the entering scene is rendered untouched."
askedAs:
- "notebook page flips away"
- "stop motion paper page turn"
- "I want the scene to swing up like a page of a notebook revealing the next"
- "scrapbook style act break"
- "paper craft video where current page leaves physically"
- "page lifts in choppy stop motion poses showing next page below"
---
<ComponentPreview name="page-turn" />
<InstallBlock name="page-turn" />
## Usage
`pageTurn` is a `TransitionPresentation` for `@remotion/transitions`. The
outgoing scene lifts and rotates away like a page being turned; the incoming
scene is simply already there, underneath.
```tsx
// src/Root.tsx
import { linearTiming, TransitionSeries } from "@remotion/transitions";
import { pageTurn } from "@/components/remocn/page-turn";
export const MyVideo = () => (
<TransitionSeries>
<TransitionSeries.Sequence durationInFrames={76}>
<PageOne />
</TransitionSeries.Sequence>
<TransitionSeries.Transition
timing={linearTiming({ durationInFrames: 24 })}
presentation={pageTurn()}
/>
<TransitionSeries.Sequence durationInFrames={76}>
<PageTwo />
</TransitionSeries.Sequence>
</TransitionSeries>
);
```
24 frames is the pairing this transition was built around — eight poses at the
kit's default tempo of three frames each.
### The exiting scene stays on top
This is the one transition in the catalog that inverts the usual stacking. In a
`TransitionSeries` the entering scene normally paints over the outgoing one;
here the outgoing wrapper takes `zIndex: 2`, because a page you are turning has
to pass in front of whatever it uncovers. The entering scene is rendered
completely untouched — no fade, no transform. The reveal *is* the entering
animation.
### Poses, not a sweep
Progress is eased, then snapped to `poses` discrete values, so the page moves in
hand-shot jumps rather than gliding. That happens inside the presentation, so it
survives whichever timing function you pass — `springTiming` will change how
long each pose is held, but it cannot smooth the motion back out.
Lower `poses` for a rougher, more obviously hand-made turn; raise it toward 16
and the page starts to look mechanical.
<PropsTable title="Props"
rows={[
{
name: "angle",
type: "number",
default: "-7",
description: "Rotation in degrees at full lift; negative swings the page left",
},
{
name: "origin",
type: "string",
default: "\"18% 100%\"",
description: "CSS transform-origin the page pivots around",
},
{
name: "poses",
type: "number",
default: "8",
description: "How many discrete stop-motion poses the turn is snapped to",
},
]}
/>