Flow Arrow

A dotted gradient arrow zigzags upward beside a 3x growth stat. A free, MIT-licensed Remotion number animation.

Installation
$ pnpm dlx shadcn@latest add @remocn/flow-arrow

Usage

tsx
// src/Root.tsx
import { Composition } from "remotion";
import { FlowArrow } from "@/components/remocn/flow-arrow";
 
const FlowArrowScene = () => <FlowArrow metric="3×" label="faster growth" />;
 
export const RemotionRoot = () => (
  <Composition
    id="FlowArrow"
    component={FlowArrowScene}
    durationInFrames={310}
    fps={60}
    width={1280}
    height={720}
  />
);

Dotted particles stream into a zigzag arrow that climbs diagonally, then a gradient sweep lands the metric and its label. Pass metric (for example 3x) and label. Ships dark and light via theme.

Props13

PropTypeDefault
metric
string"3×"

The big number or multiplier that lands.

label
string"faster growth"

Short phrase under the metric.

accent
string"#3B5BFD"

Accent color for the hero element.

ink
string—

Text color; overrides the theme ink.

background
string—

Background fill; pass "transparent" to drop it.

fontFamily
string"Space Grotesk"

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

fontWeight
number400

Weight of the metric.

flight
number32

Frames each dot takes to fly into the arrow; the metric lands after the last one.

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.

grain
booleantrue

Film grain over the scene.

theme
"dark" | "light""dark"

Dark or light palette.

speed
number1

Playback multiplier.

  • metricstring

    The big number or multiplier that lands.

    Default"3×"

  • labelstring

    Short phrase under the metric.

    Default"faster growth"

  • accentstring

    Accent color for the hero element.

    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"Space Grotesk"

  • fontWeightnumber

    Weight of the metric.

    Default400

  • flightnumber

    Frames each dot takes to fly into the arrow; the metric lands after the last one.

    Default32

  • 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

  • grainboolean

    Film grain over the scene.

    Defaulttrue

  • theme"dark" | "light"

    Dark or light palette.

    Default"dark"

  • speednumber

    Playback multiplier.

    Default1