Whole Page
A manifesto of serif belief paragraphs fills the page in columns, one after another. A free, MIT-licensed Remotion text animation.
$ pnpm dlx shadcn@latest add @remocn/whole-pageUsage
// 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"