What Sticks

Claims fade out one by one for Remotion: a column of statements dims line by line under time captions until a single highlighted claim remains, a what-people-remember beat.

In Remotion, What Sticks stacks a column of marketing claims and dims them one at a time until only one line stays bright and highlighted. Use it for a message-discipline beat that shows only one claim survives the viewer's memory.

Installation
$ pnpm dlx shadcn@latest add @remocn/what-sticks

How to build this in Remotion

You don't need one Sequence per line or a hand-rolled stagger. Install the component and pass your claims:

bash
npx shadcn@latest add @remocn/what-sticks

It is one scene. The column rises in line by line, stagger frames apart. Above it, a time caption (a moment such as Tomorrow, about half.) turns over at each step, and at every step a share of the lines fades back to a faint ghost. After the last moment only the keep line is left, and it glows in the accent color. The moments spread over the clip you give it, and the schedule lives in timeline.ts.

Good to know

  • Length: 170 frames of motion at 30 fps (340 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, @remotion/google-fonts from npm, plus the remocn helpers glide, frame-rate, timeline. The shadcn CLI copies the source into your project.
  • Font: loads Rubik itself through @remotion/google-fonts. Pass fontFamily to use your own face, and load that font in your project.
  • Steps: the first moment shows the full column, and every moment after it dims a share of the lines, so the lines other than keep are spread evenly over the later moments. Default: Tonight (all of it), Tomorrow (about half), Next week (just one).
  • Order: without forget, lines dim in a fixed shuffled order (the same on every render). forget lists the indices to dim first; list every index except keep to set the whole order.
  • Long lines split into two rows when that lets the column use larger type; the whole column shrinks to fit 80% of the frame height. A frame taller than it is wide gets a portrait layout.

Usage

tsx
// src/Root.tsx
import { Composition } from "remotion";
import { WhatSticks } from "@/components/remocn/what-sticks";
 
const WhatSticksScene = () => (
  <WhatSticks lines={["Scenes install with one command.", "You own every file."]} keep={1} />
);
 
export const RemotionRoot = () => (
  <Composition
    id="WhatSticks"
    component={WhatSticksScene}
    durationInFrames={460}
    fps={60}
    width={1280}
    height={720}
  />
);

A stack of claims appears while timeline captions mark what you remember tonight, tomorrow and next week. Lines fade away until one is left bright. Pass lines, and use keep to pick the survivor. It ships in light and dark through the theme prop.

Props13

PropTypeDefault
lines
string[]DEFAULT_LINES

Claims shown in the column.

keep
number—

Index of the line that stays highlighted; defaults to about 70 percent down.

moments
string[]DEFAULT_MOMENTS

Time captions marking each stage of forgetting.

forget
number[]—

Indices of lines that fade out first.

stagger
number5

Frames between lines as the column builds.

accent
string—

Accent color override; falls back to the theme accent.

ink
string—

Text color; overrides the theme ink.

background
string—

Background color override; falls back to the theme background.

fontFamily
string"Rubik"

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.

speed
number1

Playback speed multiplier for the whole timeline.

theme
"dark" | "light""dark"

Ships light and dark; picks the palette.

  • linesstring[]

    Claims shown in the column.

    DefaultDEFAULT_LINES

  • keepnumber

    Index of the line that stays highlighted; defaults to about 70 percent down.

  • momentsstring[]

    Time captions marking each stage of forgetting.

    DefaultDEFAULT_MOMENTS

  • forgetnumber[]

    Indices of lines that fade out first.

  • staggernumber

    Frames between lines as the column builds.

    Default5

  • accentstring

    Accent color override; falls back to the theme accent.

  • inkstring

    Text color; overrides the theme ink.

  • backgroundstring

    Background color override; falls back to the theme background.

  • fontFamilystring

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

    Default"Rubik"

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

    Ships light and dark; picks the palette.

    Default"dark"

Common questions

How do I animate a column of claims fading out one by one until just one remains highlighted?

Install What Sticks with npx shadcn@latest add @remocn/what-sticks, pass your claims as lines and the index of the one that survives as keep (by default, the line about 70% of the way down).

Can I hide the time captions above the column?

There is no switch for them, and an empty moments list falls back to the defaults. Pass blank strings instead, one per moment, for example moments={["", "", ""]}: the lines still dim over the second and third moments, and the caption's space above the column stays reserved.

Can I control which line dims at which step?

forget sets the order. Each moment after the first dims about the same number of lines, so with six lines and three moments, the second moment dims three of the five that go and the third dims the other two. Add moments for finer steps.

  • Tldr on Top: a summary on top of the full copy.
  • Index List: a numbered list where a band parks on the most important row.
  • Less More: a single before-and-after contrast pair.
  • And You: an audience list that ends on the viewer.