Spec Sheet

A clean spec table with hairline rows reveals values one by one, then one row expands to feature its value. A free, MIT-licensed Remotion number animation.

Installation
$ pnpm dlx shadcn@latest add @remocn/spec-sheet

Usage

tsx
// src/Root.tsx
import { Composition } from "remotion";
import { SpecSheet } from "@/components/remocn/spec-sheet";
 
const SpecSheetScene = () => (
  <SpecSheet title="Tech specs" highlight={3} rows={[{ label: "Resolution", value: "4K" }, { label: "Frame rate", value: "60 fps" }, { label: "Install", value: "1 command" }]} />
);
 
export const RemotionRoot = () => (
  <Composition
    id="SpecSheet"
    component={SpecSheetScene}
    durationInFrames={280}
    fps={60}
    width={1280}
    height={720}
  />
);

Hairline rules draw across and the labels and values reveal row by row, the values typing in. Then the highlighted row expands and its value grows in the accent gradient. Pass rows, highlight (row index), title and name (shown in the bottom lockup); it ships light and dark through theme.

Props16

PropTypeDefault
rows
SpecRow[]DEFAULT_ROWS

Table rows, each with a label and a value shown as text.

highlight
number3

Zero-based index of the row that expands.

title
string"Tech specs"

Heading shown above the table.

name
string"3.0"

Name shown next to the logo in the bottom lockup.

stagger
number5

Frames between rows as the table builds.

expandAt
number62

Frame the highlighted row starts to expand.

logo
React.ReactNode—

React node shown in the lockup instead of the default Remocn logo.

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.

fontFamily
string"Instrument Sans"

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.

theme
"dark" | "light""dark"

Color theme, "dark" or "light".

speed
number1

Playback speed multiplier for the whole timeline.

  • rowsSpecRow[]

    Table rows, each with a label and a value shown as text.

    DefaultDEFAULT_ROWS

  • highlightnumber

    Zero-based index of the row that expands.

    Default3

  • titlestring

    Heading shown above the table.

    Default"Tech specs"

  • namestring

    Name shown next to the logo in the bottom lockup.

    Default"3.0"

  • staggernumber

    Frames between rows as the table builds.

    Default5

  • expandAtnumber

    Frame the highlighted row starts to expand.

    Default62

  • logoReact.ReactNode

    React node shown in the lockup instead of the default Remocn logo.

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

  • fontFamilystring

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

    Default"Instrument Sans"

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

    Color theme, "dark" or "light".

    Default"dark"

  • speednumber

    Playback speed multiplier for the whole timeline.

    Default1

Common questions

How do I make a spec table where rows reveal one by one in Remotion?

Install Spec Sheet with npx shadcn@latest add @remocn/spec-sheet and pass rows as { label, value } items, for example resolution, frame rate and license. Hairline rules draw across, values type in row by row, then the highlight row expands. It is plain HTML and CSS; you don't need @remotion/layout-utils.

Which row does highlight pick?

It counts from zero: highlight={3} is the fourth row.

What happens with long values?

Each value types in over the same 22 frames however long it is, so longer values type faster. A leading number counts up and the rest fades in letter by letter. Values are not truncated: the highlighted value shrinks to fit the table, other rows keep their size and can overflow, so keep them short.

How do I change or hide the Remocn lockup?

The lockup at the bottom shows logo and name. Pass your own logo node and product name, or logo={false} with name="" to hide it. logo={null} falls back to the Remocn logo.

How long is it?

The highlighted row finishes expanding at frame 84 at 30 fps (expandAt, default 62, plus 22), then the frame holds. The timing is the same at any frame rate: give a 60 fps composition at least 168 frames. The usage example's 280 frames at 60 fps includes a hold.