Concentric Scale

Concentric dotted discs scale up step by step until the last glowing disc lands a large figure and label. A free, MIT-licensed Remotion number animation.

Installation
$ pnpm dlx shadcn@latest add @remocn/concentric-scale

Usage

tsx
// src/Root.tsx
import { Composition } from "remotion";
import { ConcentricScale } from "@/components/remocn/concentric-scale";
 
const ConcentricScaleScene = () => <ConcentricScale steps={[{ value: "1" }, { value: "100" }, { value: "10,000", label: "creators" }]} />;
 
export const RemotionRoot = () => (
  <Composition
    id="ConcentricScale"
    component={ConcentricScaleScene}
    durationInFrames={350}
    fps={60}
    width={1280}
    height={720}
  />
);

Dotted discs scale up one at a time as the camera pulls back, each ring labeled with a step value, until the last disc glows at its rim and its large figure and label land beside it. Pass steps as 2 to 7 entries of { value, label? }; the label of the final step becomes the caption. It ships light and dark through theme.

Props12

PropTypeDefault
steps
ScaleStep[]DEFAULT_STEPS

Two to seven scale steps; each has a value and an optional label.

beat
number30

Frames between one ring and the next.

fontWeight
number300

Weight of the final figure.

accent
string"#3B5BFD"

Accent color of the rings and glow.

ink
string—

Text color; overrides the theme ink.

background
string—

Background fill; pass "transparent" to drop it.

fontFamily
string"Sora"

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

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"

Light or dark palette.

speed
number1

Playback speed multiplier.

  • stepsScaleStep[]

    Two to seven scale steps; each has a value and an optional label.

    DefaultDEFAULT_STEPS

  • beatnumber

    Frames between one ring and the next.

    Default30

  • fontWeightnumber

    Weight of the final figure.

    Default300

  • accentstring

    Accent color of the rings and glow.

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

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

    Light or dark palette.

    Default"dark"

  • speednumber

    Playback speed multiplier.

    Default1