Line Relief

A big word is ruled out of 40 horizontal lines that bulge into relief, then resolves to solid. A free, MIT-licensed Remotion text animation.

Installation
$ pnpm dlx shadcn@latest add @remocn/line-relief

Usage

tsx
// src/Root.tsx
import { Composition } from "remotion";
import { LineRelief } from "@/components/remocn/line-relief";
 
const LineReliefScene = () => <LineRelief word="LAUNCH" accent="#3B5BFD" />;
 
export const RemotionRoot = () => (
  <Composition
    id="LineRelief"
    component={LineReliefScene}
    durationInFrames={280}
    fps={60}
    width={1280}
    height={720}
  />
);

Forty thin horizontal lines sweep across the frame and rise into the shape of the word like a relief map. They then flatten while the solid word resolves out of a soft blur. Pass word (short, caps work best); accent tints the night sky, and it ships light and dark through theme.

Props11

PropTypeDefault
word
string"LAUNCH"

The word ruled out of the lines. Keep it short.

count
number40

Number of horizontal lines in the field.

sweep
number16

Frames the rise takes to sweep from the left edge to the right.

accent
string"#3B5BFD"

Tint for the sky behind the lines.

ink
string—

Text color; overrides the theme ink.

background
string—

Solid fill in place of the dusk sky; pass "transparent" to drop it.

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.

theme
"dark" | "light""dark"

Light or dark ground; ships both.

  • wordstring

    The word ruled out of the lines. Keep it short.

    Default"LAUNCH"

  • countnumber

    Number of horizontal lines in the field.

    Default40

  • sweepnumber

    Frames the rise takes to sweep from the left edge to the right.

    Default16

  • accentstring

    Tint for the sky behind the lines.

    Default"#3B5BFD"

  • inkstring

    Text color; overrides the theme ink.

  • backgroundstring

    Solid fill in place of the dusk sky; pass "transparent" to drop it.

  • scalenumber

    Size of the foreground around the frame's center; the background stays put.

    Default1

  • delaynumber

    Frames to hold the first frame before anything moves.

    Default0

  • speednumber

    Playback speed multiplier.

    Default1

  • grainboolean

    Film grain over the scene.

    Defaulttrue

  • theme"dark" | "light"

    Light or dark ground; ships both.

    Default"dark"