Ticker Tape

Bands of stock quotes scroll, brake to a stop on a hero symbol, which scales into a price poster. A free, MIT-licensed Remotion number animation.

Installation
$ pnpm dlx shadcn@latest add @remocn/ticker-tape

Usage

tsx
// src/Root.tsx
import { Composition } from "remotion";
import { TickerTape } from "@/components/remocn/ticker-tape";
 
const TickerTapeScene = () => (
  <TickerTape symbol="RMCN" price="128.40" change={12.4} name="remocn" />
);
 
export const RemotionRoot = () => (
  <Composition
    id="TickerTape"
    component={TickerTapeScene}
    durationInFrames={300}
    fps={60}
    width={1280}
    height={720}
  />
);

Seven bands of quotes run at speed in alternating directions, then brake until the middle band stops on the hero symbol. The side bands clear away and the hero quote scales into a poster with price and move. Pass symbol, price, change, symbols and name; it ships light and dark through theme.

Props16

PropTypeDefault
symbol
string"RMCN"

Hero symbol the middle band stops on.

price
string"128.40"

Hero price, shown as typed.

change
number12.4

Hero move in percent; negative reads as a down move.

symbols
string[]SYMBOLS

Other fictional symbols that fill the bands.

name
string"remocn"

Product name under the poster; Remocn renders the real logo.

logo
React.ReactNode—

React node that replaces the logo or name under the poster.

label
string"MARKET CLOSE"

Status next to the name under the poster.

accent
string"#3B5BFD"

Accent color for highlights and small marks.

ink
string—

Text color; overrides the theme ink.

background
string—

Background fill; pass "transparent" to drop it.

fontFamily
string"Oswald"

Typeface for the copy. Load the font in your project first.

blur
number1

Strength of the motion smear on the running bands; 0 turns it off.

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"

Color theme, "dark" or "light".

  • symbolstring

    Hero symbol the middle band stops on.

    Default"RMCN"

  • pricestring

    Hero price, shown as typed.

    Default"128.40"

  • changenumber

    Hero move in percent; negative reads as a down move.

    Default12.4

  • symbolsstring[]

    Other fictional symbols that fill the bands.

    DefaultSYMBOLS

  • namestring

    Product name under the poster; Remocn renders the real logo.

    Default"remocn"

  • logoReact.ReactNode

    React node that replaces the logo or name under the poster.

  • labelstring

    Status next to the name under the poster.

    Default"MARKET CLOSE"

  • accentstring

    Accent color for highlights and small marks.

    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"Oswald"

  • blurnumber

    Strength of the motion smear on the running bands; 0 turns it off.

    Default1

  • 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 for the whole timeline.

    Default1

  • theme"dark" | "light"

    Color theme, "dark" or "light".

    Default"dark"