Skip to content

Production-ready animations, transitions, backgrounds, and scenes for Remotion

3.4 KB
Raw Blame
---
title: Live Ticker
description: "A big comma-separated counter rolls its digits up like a live ticker with a feed above"
component: live-ticker
vibe: data
length: 133
useWhen:
  - "A usage-scale beat where a giant counter ticks up in real time while a feed of customer pills streams in and is absorbed by the number."
  - "A 'millions served' claim such as 12,480,312 renders that must feel live, then freeze on the final figure with a 'Live on remocn' label."
  - "A social-proof moment where named customers and formats ride small pills into a running total."
avoidWhen:
  - "You want a quiet, static figure with no streaming feed — use `compact-stat`."
  - "You want a count that adds in visible steps with carries — use `carry-count`."
  - "You want beat-locked steps on a music track — use `beat-count`."
askedAs:
  - "live user counter"
  - "giant ticking number"
  - "I want a huge counter rolling up like it is live with customers streaming in"
  - "show scale with a big comma number and a feed of people above it"
  - "a usage beat where the viewer sees real-time activity piling up"
  - "social proof moment: thousands of users joining while the count climbs"
---

<ComponentPreview name="live-ticker" />

<InstallBlock name="live-ticker" />

## Usage

```tsx
// src/Root.tsx
import { Composition } from "remotion";
import { LiveTicker } from "@/components/remocn/live-ticker";

const LiveTickerScene = () => (
  <LiveTicker
    value={12480312}
    unit="renders"
    kicker="Live"
    feed={["Lumen", "Kite", "Orbit"]}
  />
);

export const RemotionRoot = () => (
  <Composition
    id="LiveTicker"
    component={LiveTickerScene}
    durationInFrames={150}
    fps={30}
    width={1280}
    height={720}
  />
);
```

A large comma-separated counter rises into place with its columns already ticking, while dots and small pills slide in from both edges and get swallowed by the number, each giving it a bump. The streams then dry up, the columns brake and settle on `value`, and a label with a unit word and the product name rises beneath. Pass `value`, `unit`, `name`, `kicker` and `feed`. It ships light and dark through the `theme` prop.

<PropsTable title="Props"
  rows={[
    {
      name: "value",
      type: "number",
      default: "12480312",
      description: "Where the counter lands and freezes.",
    },
    {
      name: "unit",
      type: "string",
      default: "\"renders\"",
      description: "Serif italic word under the frozen number.",
    },
    {
      name: "name",
      type: "string",
      default: "\"remocn\"",
      description: "Product after \"on\"; \"remocn\" renders the real logo.",
    },
    {
      name: "logo",
      type: "React.ReactNode",
      description: "Replaces the logo / name in the label.",
    },
    {
      name: "kicker",
      type: "string",
      default: "\"Live\"",
      description: "Small caps tag above the number while it runs.",
    },
    {
      name: "feed",
      type: "string[]",
      description: "Customer names riding the transaction pills.",
    },
    {
      name: "accent",
      type: "string",
      default: "\"#3B5BFD\"",
      description: "Colour of the highlighted figures and the small marker dots.",
    },
    {
      name: "speed",
      type: "number",
      default: "1",
      description: "Playback speed multiplier; 1 is the designed pace.",
    },
    {
      name: "theme",
      type: "\"dark\" | \"light\"",
      default: "\"dark\"",
      description: "Ships light and dark.",
    },
  ]}
/>