Version Hero

A chrome numeral is built from stacked slices, docks inside a glowing disc, and a label lands beneath. A free, MIT-licensed Remotion number animation.

Installation
$ pnpm dlx shadcn@latest add @remocn/version-hero

Usage

tsx
// src/Root.tsx
import { Composition } from "remotion";
import { VersionHero } from "@/components/remocn/version-hero";
 
const VersionHeroScene = () => (
  <VersionHero version="2.0" name="remocn" label="Now available" />
);
 
export const RemotionRoot = () => (
  <Composition
    id="VersionHero"
    component={VersionHeroScene}
    durationInFrames={300}
    fps={60}
    width={1280}
    height={720}
  />
);

The numeral's slices stack up in 3D under a slow orbiting camera, dock into a solid object while a disc of light rises behind it, and a specular sweep crosses its faces. The label lands beneath. Pass version, name and label; theme picks brushed aluminium in dark or matte paper stock in light.

Props15

PropTypeDefault
version
string"2.0"

Release number rendered as the extruded object.

name
string"remocn"

Product name in the label under the numeral.

label
string"Now available"

Second half of the label.

logo
React.ReactNode—

React node that replaces the label's name; the default is the Remocn logo.

fontFamily
string"Bricolage Grotesque"

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

depth
number0.2

Extrusion depth of the numeral, as a share of its font size.

stagger
number2.2

Frames between slices as the stack docks.

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.

grain
booleantrue

Film grain over the scene.

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"

Dark is brushed aluminium, light is matte paper stock.

  • versionstring

    Release number rendered as the extruded object.

    Default"2.0"

  • namestring

    Product name in the label under the numeral.

    Default"remocn"

  • labelstring

    Second half of the label.

    Default"Now available"

  • logoReact.ReactNode

    React node that replaces the label's name; the default is the Remocn logo.

  • fontFamilystring

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

    Default"Bricolage Grotesque"

  • depthnumber

    Extrusion depth of the numeral, as a share of its font size.

    Default0.2

  • staggernumber

    Frames between slices as the stack docks.

    Default2.2

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

  • grainboolean

    Film grain over the scene.

    Defaulttrue

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

    Dark is brushed aluminium, light is matte paper stock.

    Default"dark"