Skip to content

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

2.6 KB
Raw Blame
---
title: Transit Lines
description: "Metro-map lines converge on a hub station that resolves into the logo as the next stop."
component: transit-lines
vibe: premium
length: 96
useWhen:
  - "A platform or integrations product where many things converge in one place."
  - "A roadmap or release-train beat with a next-stop metaphor."
  - "An editorial logo reveal with a diagram feel."
avoidWhen:
  - "A prompt should resolve into the brand through nodes — use `neural-pulse`."
  - "A single dotted route is enough — use `paper-plane`."
  - "You only need a name and a tagline — use `first-light`."
askedAs:
  - "metro map logo reveal"
  - "subway lines converging"
  - "I want train lines meeting at a station that becomes our logo"
  - "platform or integrations product where many routes join in one hub"
  - "roadmap or release train beat ending on the next stop"
  - "transit map animation"
---

<ComponentPreview name="transit-lines" />

<InstallBlock name="transit-lines" />

## Usage

```tsx
// src/Root.tsx
import { Composition } from "remotion";
import { TransitLines } from "@/components/remocn/transit-lines";

const TransitLinesScene = () => (
  <TransitLines
    title="remocn"
    kicker="Next stop"
    accent="#3B5BFD"
  />
);

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

Coloured line routes draw across a grid, stations pop as the lines pass, and all lines converge on a hub that grows and resolves into `title`, with `kicker` above it. Pass `title`, `kicker` and, to draw your own map, `lines`. Ships light and dark.

<PropsTable title="Props"
  rows={[
    {
      name: "title",
      type: "string",
      default: "\"remocn\"",
      description: "Name the hub resolves into; Remocn renders the real logo.",
    },
    {
      name: "kicker",
      type: "string",
      default: "\"Next stop\"",
      description: "Small line above the title.",
    },
    {
      name: "lines",
      type: "TransitLine[]",
      default: "DEFAULT_LINES",
      description: "Routes as grid points, with tone, optional stations and labels.",
    },
    {
      name: "accent",
      type: "string",
      default: "\"#3B5BFD\"",
      description: "Accent colour for the mark and highlights; any CSS colour.",
    },
    {
      name: "theme",
      type: "\"dark\" | \"light\"",
      default: "\"dark\"",
      description: "Dark or light palette and ground.",
    },
    {
      name: "speed",
      type: "number",
      default: "1",
      description: "Playback multiplier for the whole timeline; 1 is normal speed.",
    },
  ]}
/>