Name Gloss

Big name words rise together, split into columns, and each gets a short gloss before a closing line.

Installation
$ pnpm dlx shadcn@latest add @remocn/name-gloss

Usage

tsx
// 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={170}
    fps={30}
    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.

Props6

PropTypeDefault
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.

accent
string—

Color of the closing sentence.

background
string—

Background fill; pass "transparent" to drop it.

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.

    DefaultDEFAULT_PARTS

  • whystring

    Closing sentence in the accent color.

    DefaultDEFAULT_WHY

  • accentstring

    Color of the closing sentence.

  • backgroundstring

    Background fill; pass "transparent" to drop it.

  • speednumber

    Playback speed multiplier for the whole timeline.

    Default1

  • theme"dark" | "light"

    Light or dark palette.

    Default"dark"