Tagline Justify

A tagline springs in word by word and sets as a justified block, with one word in gradient serif italic. A free, MIT-licensed Remotion text animation.

In Remotion, Tagline Justify springs a closing tagline in word by word and sets it as a tidy justified block, with one word in a gradient serif italic and a logo below. Use it for the last line of a launch video, locked up like a poster.

Installation
$ pnpm dlx shadcn@latest add @remocn/tagline-justify

Good to know

  • Length: 112 frames of motion at 30 fps (224 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 Instrument Serif, Inter Tight and Manrope 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 { TaglineJustify } from "@/components/remocn/tagline-justify";
 
const TaglineJustifyScene = () => (
  <TaglineJustify
    text="Your launch deserves a film as good as the product."
    highlight="film"
  />
);
 
export const RemotionRoot = () => (
  <Composition
    id="TaglineJustify"
    component={TaglineJustifyScene}
    durationInFrames={280}
    fps={60}
    width={1280}
    height={720}
  />
);

Words spring in one after another and the line breaks stretch and scale so every line fills the same width, like a justified column. The highlight word is set in serif italic and fills with a gradient, then a hairline and a logo land beneath. The default logo is the Remocn wordmark, so pass your own logo. It ships light and dark.

Props14

PropTypeDefault
words
string[]—

Pre-split words; overrides text when given.

text
string"Your launch deserves a film as good as the product."

Tagline to justify; it is split on spaces.

highlight
string"film"

Word set in gradient serif italic.

stagger
number6

Frames between words landing.

logo
React.ReactNode—

Logo node under the block; defaults to the Remocn wordmark.

accent
string"#3B5BFD"

Color of the short accent segment on the hairline.

ink
string—

Text color; overrides the theme ink.

background
string—

Background fill; pass "transparent" to drop it.

fontFamily
string"Inter Tight"

Typeface for the copy; the highlight word stays in the serif. Load the font in your project first.

grain
booleantrue

Film grain over the scene.

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.

theme
"dark" | "light""dark"

Light or dark palette.

speed
number1

Playback speed multiplier for the whole timeline.

  • wordsstring[]

    Pre-split words; overrides text when given.

  • textstring

    Tagline to justify; it is split on spaces.

    Default"Your launch deserves a film as good as the product."

  • highlightstring

    Word set in gradient serif italic.

    Default"film"

  • staggernumber

    Frames between words landing.

    Default6

  • logoReact.ReactNode

    Logo node under the block; defaults to the Remocn wordmark.

  • accentstring

    Color of the short accent segment on the hairline.

    Default"#3B5BFD"

  • inkstring

    Text color; overrides the theme ink.

  • backgroundstring

    Background fill; pass "transparent" to drop it.

  • fontFamilystring

    Typeface for the copy; the highlight word stays in the serif. Load the font in your project first.

    Default"Inter Tight"

  • grainboolean

    Film grain over the scene.

    Defaulttrue

  • 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

  • theme"dark" | "light"

    Light or dark palette.

    Default"dark"

  • speednumber

    Playback speed multiplier for the whole timeline.

    Default1