Name Gloss
Big name words rise together, split into columns, and each gets a short gloss before a closing line. A free, MIT-licensed Remotion text animation.
$ pnpm dlx shadcn@latest add @remocn/name-glossUsage
// src/Root.tsx
import { Composition } from "remotion";
import { NameGloss } from "@/components/remocn/name-gloss";
const NameGlossScene = () => (
<NameGloss
parts={[
{ word: "Brand", gloss: "Your colors, your type, your logo." },
{ word: "kit", gloss: "Packed into every scene you install." },
]}
why="So every film looks like yours."
/>
);
export const RemotionRoot = () => (
<Composition
id="NameGloss"
component={NameGlossScene}
durationInFrames={340}
fps={60}
width={1280}
height={720}
/>
);The name words rise in the middle as one phrase, then glide apart into columns across the top. Under each one its gloss builds word by word, and the why sentence resolves last in the accent color. Pass parts as { word, gloss } pairs, usually two or three, and a closing why. It ships light and dark.
Props12
| Prop | Type | Default |
|---|---|---|
| parts | { word: string; gloss: string }[]DEFAULT_PARTS Name words, each with the gloss shown beneath its column. | |
| why | stringDEFAULT_WHY Closing sentence in the accent color. | |
| stagger | number2 Frames between words as a gloss writes in. | |
| hold | number42 Frames held on the finished card; the glosses space out to fit the rest. | |
| accent | string— Color of the closing sentence. | |
| ink | string— Text color; overrides the theme ink. | |
| background | string— Background fill; pass "transparent" to drop it. | |
| fontFamily | string"Geologica" 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" Light or dark palette. | |
- parts{ word: string; gloss: string }[]
Name words, each with the gloss shown beneath its column.
Default
DEFAULT_PARTS - whystring
Closing sentence in the accent color.
Default
DEFAULT_WHY - staggernumber
Frames between words as a gloss writes in.
Default
2 - holdnumber
Frames held on the finished card; the glosses space out to fit the rest.
Default
42 - accentstring
Color of the closing sentence.
- 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
"Geologica" - 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 for the whole timeline.
Default
1 - theme"dark" | "light"
Light or dark palette.
Default
"dark"