Oval Type
Words ride a row of stretchy gradient capsules, which then grow into a tall three-word poster. A free, MIT-licensed Remotion text animation.
$ pnpm dlx shadcn@latest add @remocn/oval-typeUsage
// src/Root.tsx
import { Composition } from "remotion";
import { OvalType } from "@/components/remocn/oval-type";
const OvalTypeScene = () => <OvalType tagline={["Make", "it", "move"]} words={["Plan", "Cut", "Edit"]} accentWord={1} />;
export const RemotionRoot = () => (
<Composition
id="OvalType"
component={OvalTypeScene}
durationInFrames={230}
fps={60}
width={1280}
height={720}
/>
);Capsules step left along a conveyor, stretching while they travel and bouncing tall when they land, each carrying one word from words. Then the tagline words land as tall poster ovals and the gaps close. Use accentWord to set one tagline word in italic serif; it ships light and dark through theme.
Props14
| Prop | Type | Default |
|---|---|---|
| tagline | string[]["Make", "it", "move"] The poster row: one word per capsule, in reading order. | |
| words | string[]— Words that ride the capsules past the frame before the tagline lands. | |
| accentWord | number1 Index of the tagline word set in italic serif; -1 for none. | |
| beat | number9 Frames between two conveyor steps. | |
| landLen | number18 Frames the tagline takes to grow into the tall poster ovals. | |
| ink | string— Text color; overrides the theme ink. | |
| background | string— Background fill; pass "transparent" to drop it. | |
| fontFamily | string"Instrument Sans" Typeface for the copy. Load the font in your project first. | |
| theme | "dark" | "light""dark" Light or dark ground; ships both. | |
| 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. | |
| grain | booleantrue Film grain over the scene. | |
| accent | string— Unused; kept for API parity, the capsules use a fixed gradient. | |
- taglinestring[]
The poster row: one word per capsule, in reading order.
Default
["Make", "it", "move"] - wordsstring[]
Words that ride the capsules past the frame before the tagline lands.
- accentWordnumber
Index of the tagline word set in italic serif; -1 for none.
Default
1 - beatnumber
Frames between two conveyor steps.
Default
9 - landLennumber
Frames the tagline takes to grow into the tall poster ovals.
Default
18 - 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
"Instrument Sans" - theme"dark" | "light"
Light or dark ground; ships both.
Default
"dark" - 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 - speednumber
Playback speed multiplier.
Default
1 - grainboolean
Film grain over the scene.
Default
true - accentstring
Unused; kept for API parity, the capsules use a fixed gradient.