Your Name Here

A launch-film caption has a slot where the brand name is swapped in for the viewer's own. A free, MIT-licensed Remotion text animation.

In Remotion, Your Name Here plays a launch-film caption with a slot in the line where the viewer's own product name goes, and swaps a brand name into that slot. Use it for a template-style beat that tells the viewer to drop in their own name.

Installation
$ pnpm dlx shadcn@latest add @remocn/your-name-here

Good to know

  • Length: 146 frames of motion at 30 fps (292 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, Sequence lengths) 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-fonts from npm, plus the remocn helpers glide, frame-rate, 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.
  • Pass note="" to hide the note line under the caption.

Usage

tsx
// src/Root.tsx
import { Composition } from "remotion";
import { YourNameHere } from "@/components/remocn/your-name-here";
 
const YourNameHereScene = () => (
  <YourNameHere lead="A launch film for" slot="yourProduct" brand="Acme" note="Swap one prop. The film is yours." />
);
 
export const RemotionRoot = () => (
  <Composition
    id="YourNameHere"
    component={YourNameHereScene}
    durationInFrames={360}
    fps={60}
    width={1280}
    height={720}
  />
);

A lead-in line runs to a highlighted slot that swaps from slot to brand, then a closing note lands below. Pass lead, brand, slot and note to personalize it. It ships in light and dark through the theme prop.

Props14

PropTypeDefault
lead
string"A launch film for"

Text before the slot.

brand
string"remocn"

Name that replaces the placeholder.

slot
string"yourProduct"

Placeholder text shown first.

end
string"."

Closing punctuation after the name.

note
string"Swap one prop. The film is yours."

Caption shown under the main line.

stagger
number3

Frames between words as the lead builds.

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

Ships light and dark; picks the palette.

  • leadstring

    Text before the slot.

    Default"A launch film for"

  • brandstring

    Name that replaces the placeholder.

    Default"remocn"

  • slotstring

    Placeholder text shown first.

    Default"yourProduct"

  • endstring

    Closing punctuation after the name.

    Default"."

  • notestring

    Caption shown under the main line.

    Default"Swap one prop. The film is yours."

  • staggernumber

    Frames between words as the lead builds.

    Default3

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

    Ships light and dark; picks the palette.

    Default"dark"