Rsvp

Event or launch invite: a big You are invited headline rises word by word, then a what, when and where table builds below and ends on a highlighted command or link to join. A free, MIT-licensed Remotion text animation.

In Remotion, Rsvp is an animated event or launch invite: a large headline rises word by word, then a what, when and where table builds below it, ending on an accent row that shows how to join, such as a link or an install command. Use it as the closing call to action of a launch video.

Installation
$ pnpm dlx shadcn@latest add @remocn/rsvp

How to animate an event invite with a what, when, where table in Remotion

A big invite headline followed by a details table that ends on a highlighted way to join is one component. Install it and pass your rows:

bash
npx shadcn@latest add @remocn/rsvp
  • fields are the table rows, any labels you want. The default rows are What, When, Where and Bring; pass { label: "Where", value: "..." } for a where row.
  • The last row is the rsvp text under the rsvpLabel label (RSVP), in the accent color. As it lands, the other rows dim so it pulls focus. An empty rsvp hides that row.
  • Each row's label rises first, then its words one by one. Rows are spaced up to 16 frames apart and squeeze closer in a short clip.
  • There is no fixed row limit: headline and rows shrink together until the block fits 82% of the frame height, so more rows mean smaller type. A headline wraps to at most two lines (three in portrait).

For a thank-you sign-off with a P.S. line use Post Script.

Good to know

  • Length: 117 frames of motion at 30 fps with the default rows (234 at 60 fps). The Usage example runs 360 frames at 60 fps, which adds a hold; set your composition length on purpose. The props counted in frames stay in 30 fps frames at any frame rate, see Frame rate.
  • Installs: remotion, @remotion/google-fonts from npm, plus the remocn helpers glide, frame-rate and timeline. The shadcn CLI copies the source into your project.
  • Font: loads Lexend itself through @remotion/google-fonts. Pass fontFamily to use your own face, and load that font in your project.

Usage

tsx
// src/Root.tsx
import { Composition } from "remotion";
import { Rsvp } from "@/components/remocn/rsvp";
 
const RsvpScene = () => (
  <Rsvp
    headline="You are invited."
    fields={[
      { label: "What", value: "The 2.0 launch film" },
      { label: "When", value: "Tuesday, 9 AM" },
    ]}
    rsvp="acme.dev/launch"
  />
);
 
export const RemotionRoot = () => (
  <Composition
    id="Rsvp"
    component={RsvpScene}
    durationInFrames={360}
    fps={60}
    width={1280}
    height={720}
  />
);

The headline rises word by word, then rows of label and value (the fields) build below it, ending on an accent row labeled rsvpLabel that shows the rsvp text and pulls focus as the other rows dim. The default rsvp is a Remocn install command, so pass your own link or command. It ships light and dark.

Props14

PropTypeDefault
headline
string"You’re invited."

Large invitation line at the top.

fields
{ label: string; value: string }[]DEFAULT_FIELDS

Label and value rows shown under the headline.

rsvpLabel
string"RSVP"

Label of the final, accent-colored row.

rsvp
string"npx shadcn add @remocn/whip-pan"

Text of the final row, such as a link or command; empty hides the row.

fontWeight
number500

Weight of the headline.

stagger
number4

Frames between headline words as they rise in.

accent
string—

Color of the labels and the final row.

ink
string—

Text color; overrides the theme ink.

background
string—

Background fill; pass "transparent" to drop it.

fontFamily
string"Lexend"

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"

Light or dark palette.

  • headlinestring

    Large invitation line at the top.

    Default"You’re invited."

  • fields{ label: string; value: string }[]

    Label and value rows shown under the headline.

    DefaultDEFAULT_FIELDS

  • rsvpLabelstring

    Label of the final, accent-colored row.

    Default"RSVP"

  • rsvpstring

    Text of the final row, such as a link or command; empty hides the row.

    Default"npx shadcn add @remocn/whip-pan"

  • fontWeightnumber

    Weight of the headline.

    Default500

  • staggernumber

    Frames between headline words as they rise in.

    Default4

  • accentstring

    Color of the labels and the final row.

  • inkstring

    Text color; overrides the theme ink.

  • backgroundstring

    Background fill; pass "transparent" to drop it.

  • fontFamilystring

    Typeface for the copy. Load the font in your project first.

    Default"Lexend"

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

    Light or dark palette.

    Default"dark"