Baseline Drop
Words fall onto a shared baseline one after another while a gradient streak glows beneath them. A free, MIT-licensed Remotion text animation.
$ pnpm dlx shadcn@latest add @remocn/baseline-dropUsage
// src/Root.tsx
import { Composition } from "remotion";
import { BaselineDrop } from "@/components/remocn/baseline-drop";
const BaselineDropScene = () => (
<BaselineDrop text="Ship the story." stagger={11} accent="#3B5BFD" />
);
export const RemotionRoot = () => (
<Composition
id="BaselineDrop"
component={BaselineDropScene}
durationInFrames={125}
fps={30}
width={1280}
height={720}
/>
);Each word drops from above and lands on a single baseline with a small bounce while a gradient streak draws in and brightens under the line, then retracts. Pass text (or words for explicit splits) and stagger to set the rhythm; it ships light and dark through theme.
Props14
| Prop | Type | Default |
|---|---|---|
| text | string"Ship the story." Headline; split on spaces into dropping words | |
| words | string[]— Explicit word list; overrides text when given | |
| stagger | number11 Frames between consecutive word landings | |
| fall | number15 Frames each word takes to fall onto the baseline. | |
| hold | number20 Frames after the last word lands before the baseline retracts. | |
| accent | string"#3B5BFD" Accent color (any valid CSS color) | |
| ink | string— Text color; overrides the theme ink. | |
| background | string— Background fill; pass "transparent" to drop it. | |
| fontFamily | string"Schibsted Grotesk" Typeface for the copy. 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" Ships light and dark palettes | |
| speed | number1 Playback speed multiplier | |
- textstring
Headline; split on spaces into dropping words
Default
"Ship the story." - wordsstring[]
Explicit word list; overrides text when given
- staggernumber
Frames between consecutive word landings
Default
11 - fallnumber
Frames each word takes to fall onto the baseline.
Default
15 - holdnumber
Frames after the last word lands before the baseline retracts.
Default
20 - accentstring
Accent color (any valid CSS color)
Default
"#3B5BFD" - 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
"Schibsted Grotesk" - 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"
Ships light and dark palettes
Default
"dark" - speednumber
Playback speed multiplier
Default
1