Whole Page
Manifesto or values page for Remotion: serif belief paragraphs fill a multi-column page one after another while the camera pans to each, then pulls back to the whole page.
To animate a values or manifesto page where serif belief paragraphs fill several columns one after another in Remotion, use Whole Page: a title opens the page, each belief writes itself into its place in the column grid while the camera pans to it, and the last move pulls back to show the whole page at once. Use it for a mission or values beat in a long-form brand film or a founder-letter scene.
$ pnpm dlx shadcn@latest add @remocn/whole-pageHow to build this in Remotion
You don't need GSAP SplitText, ScrollTrigger, Motion's useInView or a CSS column-count layout to get this. Install the component and pass your beliefs:
npx shadcn@latest add @remocn/whole-pageIt lays the beliefs out on a grid and fills it row by row: up to three columns in a landscape frame, two in a portrait one, and one column per belief when there are fewer. The type size is the largest that fits every paragraph on the page, measured on a canvas once the font has loaded (held with delayRender). The schedule in timeline.ts gives each belief a slot; inside it the camera pans to the paragraph and its words come on one after another. The final element is the pull back to the full page, which then holds.
Good to know
- Length: 344 frames of motion at 30 fps (688 at 60 fps) with the default props. That is the minimum for its
Sequence; add your own hold on top. The Usage example below is a 60 fps composition, so the numbers it hands to Remotion (durationInFrames,Sequencelengths) are doubled. The component's own props counted in frames stay in 30 fps frames at any frame rate, see Frame rate. - Installs:
remotion,@remotion/google-fontsfrom npm, plus the remocn helpersglide,frame-rate,timeline. The shadcn CLI copies the source into your project. - Font: loads Gloock itself through
@remotion/google-fonts. PassfontFamilyto use your own face, and load that font in your project. - Columns: there is no column-count prop. The count follows the number of beliefs and the frame shape, as described above.
- Timeline for your own number of beliefs: the slots stretch to fit the composition. Each belief gets (composition length −
delay− 6 −pull−hold) ÷ number of beliefs frames at 30 fps, and never less than 30. In the 390-frame demo the six default beliefs get about 51 frames each, so for the same pacing plan roughly 82 + 51 × beliefs frames at 30 fps (double it at 60 fps).
Usage
// src/Root.tsx
import { Composition } from "remotion";
import { WholePage } from "@/components/remocn/whole-page";
const WholePageScene = () => (
<WholePage title="What we believe" beliefs={["A launch video is part of the launch.", "Every frame you install is a file you can rewrite."]} />
);
export const RemotionRoot = () => (
<Composition
id="WholePage"
component={WholePageScene}
durationInFrames={780}
fps={60}
width={1280}
height={720}
/>
);A title opens a page that fills with beliefs paragraph by paragraph, flowing into columns, with the active paragraph highlighted. Pass beliefs and title for your own manifesto. It ships in light and dark through the theme prop.
Props12
| Prop | Type | Default |
|---|---|---|
| beliefs | string[]DEFAULT_BELIEFS Paragraphs that fill the page in order. | |
| title | string"What we believe" Heading shown above the paragraphs. | |
| hold | number40 Frames the whole page holds at the end. | |
| pull | number36 Frames of the final pull back to the whole page. | |
| accent | string— Accent color override; falls back to the theme accent. | |
| ink | string— Text color; overrides the theme ink. | |
| background | string— Background color override; falls back to the theme background. | |
| fontFamily | string"Gloock" 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 for the whole timeline. | |
| theme | "dark" | "light""dark" Ships light and dark; picks the palette. | |
- beliefsstring[]
Paragraphs that fill the page in order.
Default
DEFAULT_BELIEFS - titlestring
Heading shown above the paragraphs.
Default
"What we believe" - holdnumber
Frames the whole page holds at the end.
Default
40 - pullnumber
Frames of the final pull back to the whole page.
Default
36 - accentstring
Accent color override; falls back to the theme accent.
- inkstring
Text color; overrides the theme ink.
- backgroundstring
Background color override; falls back to the theme background.
- fontFamilystring
Typeface for the copy. Load the font in your project first.
Default
"Gloock" - 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 for the whole timeline.
Default
1 - theme"dark" | "light"
Ships light and dark; picks the palette.
Default
"dark"
Common questions
How do I animate serif paragraphs filling multiple columns one after another?
Install Whole Page with npx shadcn@latest add @remocn/whole-page and pass beliefs (one short paragraph each) and a title. The beliefs fill a grid of up to three columns in sequence, then the camera pulls back to the whole page.
Can I set the number of columns?
Not directly. Up to three columns in landscape and two in portrait, fewer when there are fewer beliefs.
How long should the composition be for eight beliefs?
At the demo's pacing, about 82 + 51 × 8 = 490 frames at 30 fps, or 980 at 60 fps. A shorter composition speeds up each belief down to 30 frames apiece.
Related effects
- Tldr on Top: a short summary stacked above the details.
- What Sticks: each claim appears and dims on its own until one stays lit.
- We Call It: one statement that resolves into a product name.