Res Climb

A number resolves from coarse blocks through sharper resolutions into a crisp glowing figure with a caption. A free, MIT-licensed Remotion number animation.

Installation
$ pnpm dlx shadcn@latest add @remocn/res-climb

Usage

tsx
// src/Root.tsx
import { Composition } from "remotion";
import { ResClimb } from "@/components/remocn/res-climb";
 
const ResClimbScene = () => <ResClimb value="200+" eyebrow="Component registry" label="components, ready to drop in" />;
 
export const RemotionRoot = () => (
  <Composition
    id="ResClimb"
    component={ResClimbScene}
    durationInFrames={230}
    fps={60}
    width={1280}
    height={720}
  />
);

A big number first appears as a coarse block grid, then re-renders through a few sharper resolutions in quick snaps until it lands crisp in a blue gradient. A small eyebrow sits above and a caption fades in below. Pass value as a string such as "200+", plus label and eyebrow; steps sets the grid resolutions. It ships light and dark through theme.

Props15

PropTypeDefault
value
string"200+"

The figure to resolve, as a string such as 200+.

label
string"components, ready to drop in"

Caption under the figure.

eyebrow
string"remocn registry"

Small line above the figure.

steps
number[][7, 14, 28]

Pixel-grid rows per cap height for each coarse stage; up to 4.

snapAt
number28

Frame of the first sharpening step.

build
number12

Frames for the coarsest grid to fill in, left to right.

accent
string"#3B5BFD"

Main color of the figure gradient.

ink
string—

Text color; overrides the theme ink.

background
string—

Stage background color; overrides the theme ground.

fontFamily
string"Onest"

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.

speed
number1

Playback speed multiplier.

theme
"dark" | "light""dark"

Light or dark palette.

  • valuestring

    The figure to resolve, as a string such as 200+.

    Default"200+"

  • labelstring

    Caption under the figure.

    Default"components, ready to drop in"

  • eyebrowstring

    Small line above the figure.

    Default"remocn registry"

  • stepsnumber[]

    Pixel-grid rows per cap height for each coarse stage; up to 4.

    Default[7, 14, 28]

  • snapAtnumber

    Frame of the first sharpening step.

    Default28

  • buildnumber

    Frames for the coarsest grid to fill in, left to right.

    Default12

  • accentstring

    Main color of the figure gradient.

    Default"#3B5BFD"

  • inkstring

    Text color; overrides the theme ink.

  • backgroundstring

    Stage background color; overrides the theme ground.

  • fontFamilystring

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

    Default"Onest"

  • 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

  • speednumber

    Playback speed multiplier.

    Default1

  • theme"dark" | "light"

    Light or dark palette.

    Default"dark"