Skip to content

Production-ready animations, transitions, backgrounds, and scenes for Remotion

2.6 KB
Raw Blame
---
title: Baseline Drop
description: "Words fall onto a shared baseline one after another while a gradient streak glows beneath them."
component: baseline-drop
vibe: premium
length: 94
useWhen:
  - "A closing tagline where each word should land with weight, one beat after another."
  - "A short three or four word slogan over a glowing ground at the end of a launch video."
avoidWhen:
  - "The line is long enough to need several rows - use `line-by-line-slide`."
  - "You want soft letter-level motion instead of falling words - use `per-character-rise`."
  - "The text should arrive and leave with blur rather than drop - use `blur-out-up`."
askedAs:
  - "words fall onto a line"
  - "slogan with glowing streak underneath"
  - "I want each word to drop onto the same baseline one at a time"
  - "closing tagline of three or four words landing heavy"
  - "last beat where each word lands with weight above a gradient glow"
  - "words thud down in sequence while a light streak glows below"
---

<ComponentPreview name="baseline-drop" />

<InstallBlock name="baseline-drop" />

## Usage

```tsx
// src/Root.tsx
import { Composition } from "remotion";
import { BaselineDrop } from "@/components/remocn/baseline-drop";

const BaselineDropScene = () => (
  <BaselineDrop text="Ship the story." stagger={11} accent="#3B5BFD" />
);

export const RemotionRoot = () => (
  <Composition
    id="BaselineDrop"
    component={BaselineDropScene}
    durationInFrames={125}
    fps={30}
    width={1280}
    height={720}
  />
);
```

Each word drops from above and lands on a single baseline with a small bounce while a gradient streak draws in and brightens under the line, then retracts. Pass `text` (or `words` for explicit splits) and `stagger` to set the rhythm; it ships light and dark through `theme`.

<PropsTable title="Props"
  rows={[
    {
      name: "text",
      type: "string",
      default: "\"Ship the story.\"",
      description: "Headline; split on spaces into dropping words",
    },
    {
      name: "words",
      type: "string[]",
      description: "Explicit word list; overrides text when given",
    },
    {
      name: "stagger",
      type: "number",
      default: "11",
      description: "Frames between consecutive word landings",
    },
    {
      name: "accent",
      type: "string",
      default: "\"#3B5BFD\"",
      description: "Accent color (any valid CSS color)",
    },
    {
      name: "theme",
      type: "\"dark\" | \"light\"",
      default: "\"dark\"",
      description: "Ships light and dark palettes",
    },
    {
      name: "speed",
      type: "number",
      default: "1",
      description: "Playback speed multiplier",
    },
  ]}
/>