Tracking In

A brand name snaps into focus: wide letter-spacing tightens and the blur fades with a spring, all letters moving together as one word. A free, MIT-licensed Remotion text animation.

In Remotion, Tracking In collapses the letter spacing of a title from wide to normal while the blur clears, with a springy feel, and moves all the letters together as one unit. Use it for a title or brand name that should feel like it is focusing into place.

Installation
$ pnpm dlx shadcn@latest add @remocn/tracking-in

How to make a brand name snap into focus

A brand name that snaps into focus as wide letter-spacing tightens and the blur fades, with a bit of spring, is one component:

bash
npx shadcn@latest add @remocn/tracking-in
  • One spring() drives both: letter-spacing goes from startTracking (0.5em by default) to -0.03em, and filter: blur() from startBlur (12px) to 0, while the word fades in.
  • The spring config is fixed at damping: 18, stiffness: 90 and is not a prop; to change the springiness, edit it in the copied file. speed plays the whole entrance faster or slower.
  • All letters move as one unit. For a per-letter blur-and-rise stagger use Soft Blur In.

Good to know

  • Length: 90 frames of motion at 30 fps (180 at 60 fps) with the default props. That is the minimum for its Sequence; add your own hold on top. The Usage example below is a 60 fps composition, so the numbers it hands to Remotion (durationInFrames, Sequence lengths) are doubled. The component's own props counted in frames stay in 30 fps frames at any frame rate, see Frame rate.
  • Installs: remotion from npm, plus the remocn helpers frame-rate, timeline. The shadcn CLI copies the source into your project.
  • Font: Geist Sans through the --font-geist-sans CSS variable, with a system sans fallback. The font is set inline, so change it in the copied file; a className font does not override an inline style.
  • The motion runs on Remotion's spring(); startTracking (in em) and startBlur (in px) set where it starts.

Usage

tsx
// src/Root.tsx
import { Composition } from "remotion";
import { TrackingIn } from "@/components/remocn/tracking-in";
 
const TrackingInScene = () => (
  <TrackingIn text="REMOCN" startTracking={0.6} startBlur={14} />
);
 
export const RemotionRoot = () => (
  <Composition
    id="TrackingIn"
    component={TrackingInScene}
    durationInFrames={180}
    fps={60}
    width={1280}
    height={720}
  />
);

Props8

PropTypeDefault
textrequired
string—

The text to animate

startTracking
number0.5

Initial letter-spacing in em. Animates down to -0.03em.

startBlur
number12

Initial blur radius in pixels. Animates down to 0.

fontSize
number96

Font size in pixels

fontWeight
number700

CSS font-weight

color
string"#171717"

Text color (any valid CSS color)

speed
number1

Playback speed multiplier (1 = normal, 2 = twice as fast)

className
string—

Optional className passed to the underlying span

  • textrequiredstring

    The text to animate

  • startTrackingnumber

    Initial letter-spacing in em. Animates down to -0.03em.

    Default0.5

  • startBlurnumber

    Initial blur radius in pixels. Animates down to 0.

    Default12

  • fontSizenumber

    Font size in pixels

    Default96

  • fontWeightnumber

    CSS font-weight

    Default700

  • colorstring

    Text color (any valid CSS color)

    Default"#171717"

  • speednumber

    Playback speed multiplier (1 = normal, 2 = twice as fast)

    Default1

  • classNamestring

    Optional className passed to the underlying span