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.
$ pnpm dlx shadcn@latest add @remocn/tagline-justifyUsage
// 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
| Prop | Type | Default |
|---|---|---|
| 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.
Default
6 - 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.
Default
true - 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 - theme"dark" | "light"
Light or dark palette.
Default
"dark" - speednumber
Playback speed multiplier for the whole timeline.
Default
1