Whole Page

A manifesto of serif belief paragraphs fills the page in columns, one after another. A free, MIT-licensed Remotion text animation.

Installation
$ pnpm dlx shadcn@latest add @remocn/whole-page

Usage

tsx
// 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

PropTypeDefault
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.

    DefaultDEFAULT_BELIEFS

  • titlestring

    Heading shown above the paragraphs.

    Default"What we believe"

  • holdnumber

    Frames the whole page holds at the end.

    Default40

  • pullnumber

    Frames of the final pull back to the whole page.

    Default36

  • 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.

    Default1

  • delaynumber

    Frames to hold the first frame before anything moves.

    Default0

  • speednumber

    Playback speed multiplier for the whole timeline.

    Default1

  • theme"dark" | "light"

    Ships light and dark; picks the palette.

    Default"dark"