Index List

Numbered feature list for Remotion: rows draw in one by one, then a gradient band sweeps down and parks on the most important row. For what's-inside beats.

In Remotion, Index List draws a numbered feature list in row by row under a title, then a gradient band sweeps down and parks on the most important row while the others dim. Use it for a what's-inside beat in a release or launch video.

Installation
$ pnpm dlx shadcn@latest add @remocn/index-list

How to build this in Remotion

You don't need a spring() stagger and a hand-built highlight bar. Install the component:

bash
npx shadcn@latest add @remocn/index-list

Hairline rules draw and rows rise with interpolate() and Easing on the schedule in timeline.ts; the band is a CSS linear-gradient from accent that travels down to the highlight row and parks there with an arrow.

Good to know

  • Length: 126 frames of motion at 30 fps (252 at 60 fps) with the default props. The demo plays 130 frames, which adds a hold: frames past the end of the motion hold the final frame. The Usage example below is a 60 fps composition, so the numbers it hands to Remotion are doubled, 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.
  • Fonts: loads Hanken Grotesk and Manrope itself through @remotion/google-fonts. Pass fontFamily to use your own face, and load that font in your project.
  • Logo: the default is the remocn wordmark, drawn in the file (an R mark plus "emocn" in Manrope), with no image asset. Pass your own logo node to replace it.
  • highlight is a zero-based row index (default 3). The band travels further for a lower row, so it parks later; the 126-frame length covers the default list.

Usage

tsx
// src/Root.tsx
import { Composition } from "remotion";
import { IndexList } from "@/components/remocn/index-list";
 
const IndexListScene = () => (
  <IndexList
    items={["Scenes", "Captions", "Transitions", "Templates"]}
    title="What is inside 2.0"
    highlight={2}
  />
);
 
export const RemotionRoot = () => (
  <Composition
    id="IndexList"
    component={IndexListScene}
    durationInFrames={260}
    fps={60}
    width={1280}
    height={720}
  />
);

Hairline rules draw across and a numbered list rises row by row under a logo and title; a gradient band then wipes in and travels down to the highlight row, where it parks with an arrow while the other rows dim. Pass items, title, the zero-based highlight index, and your own logo node (the default is the Remocn wordmark). It ships light and dark.

Props15

PropTypeDefault
items
string[]DEFAULT_ITEMS

Row labels, numbered automatically; the row height shrinks as you add more.

highlight
number3

Zero-based index of the row the gradient band lands on.

title
string"What’s inside 3.0"

Header text shown beside the logo.

countLabel
string"features"

Word after the item count in the top-right corner.

logo
React.ReactNode—

Header logo node; defaults to the Remocn wordmark, so pass your own.

stagger
number3

Frames between rows as the list builds.

accent
string"#3B5BFD"

Color of the travelling highlight band.

ink
string—

Text color; overrides the theme ink.

background
string—

Background fill; pass "transparent" to drop it.

fontFamily
string"Hanken Grotesk"

Typeface for the copy. Hanken Grotesk loads by default; load any other face 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 for the whole timeline.

  • itemsstring[]

    Row labels, numbered automatically; the row height shrinks as you add more.

    DefaultDEFAULT_ITEMS

  • highlightnumber

    Zero-based index of the row the gradient band lands on.

    Default3

  • titlestring

    Header text shown beside the logo.

    Default"What’s inside 3.0"

  • countLabelstring

    Word after the item count in the top-right corner.

    Default"features"

  • logoReact.ReactNode

    Header logo node; defaults to the Remocn wordmark, so pass your own.

  • staggernumber

    Frames between rows as the list builds.

    Default3

  • accentstring

    Color of the travelling highlight band.

    Default"#3B5BFD"

  • inkstring

    Text color; overrides the theme ink.

  • backgroundstring

    Background fill; pass "transparent" to drop it.

  • fontFamilystring

    Typeface for the copy. Hanken Grotesk loads by default; load any other face in your project first.

    Default"Hanken Grotesk"

  • 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 for the whole timeline.

    Default1

Common questions

How can I animate a numbered feature list that draws in row by row, then a gradient band sweeps down to highlight one row?

Install Index List with npx shadcn@latest add @remocn/index-list and pass items, title and the zero-based highlight index.

Yes, pass any React node as logo.

How long is it?

126 frames at 30 fps (252 at 60 fps) with the defaults.

  • Indent Steps: lines step in like indented code instead of a ruled index.
  • Three Steps: a how-it-works scene with three numbered steps.
  • Feature Chips Flow: feature pills stream and cluster around a logo.
  • A to Z: a feature list framed as an alphabet.