terra vidhal

Subtitle Sync Studio

Component

About

A subtitle sync studio with a simulated preview player, a proportional cue timeline, previous and next cue transport, active-cue overlay, global offset controls, cue editing, split and merge actions, next-issue jumping, reading-speed and timing warnings, and keyboard cue navigation.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Subtitle Sync Studio to your project and fits it to your theme.

Code

How Subtitle Sync Studio is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";

/**
 * PrequelUI Animate — MIT — https://prequeluianimate.terravidhal.me
 */

import {
  SubtitleSyncStudio,
  type SubtitleCue,
} from "@/components/ui/subtitle-sync-studio";

const CUES: SubtitleCue[] = [
  { id: "c1", start: 800, end: 4200, speaker: "Narrator", text: "Every team keeps a little history in the way it works." },
  { id: "c2", start: 4400, end: 7900, speaker: "Narrator", text: "This short film follows one week inside a small studio." },
  { id: "c3", start: 8100, end: 11600, speaker: "Avery", text: "We start with the questions nobody wrote down yet." },
  { id: "c4", start: 11800, end: 15200, speaker: "Jordan", text: "Then we sketch, argue a little, and sketch again." },
  { id: "c5", start: 15300, end: 18800, speaker: "Narrator", text: "By Friday, the rough edges have become a plan." },
  { id: "c6", start: 19000, end: 21600, speaker: "Avery", text: "The rest is just careful follow-through." },
  { id: "c7", start: 21800, end: 22400, speaker: "Jordan", text: "Exactly." },
];

export default function SubtitleSyncStudioDemo() {
  return (
    <main className="flex min-h-screen w-full items-start justify-center bg-gradient-to-b from-muted/40 via-background to-background px-4 py-8 sm:px-6">
      <SubtitleSyncStudio
        cues={CUES}
        duration={96000}
        title="Studio week — subtitle cut"
      />
    </main>
  );
}

Dependencies

More by terra vidhal

View all
  • Project Timeline

    Project Timeline

    30
  • Kanban Board

    Kanban Board

    20
  • Gravity Stars Background

    Gravity Stars Background

    20
  • Booking Calendar

    Booking Calendar

    18
  • Notification Center

    Notification Center

    16
  • Audio Waveform

    Audio Waveform

    16
  • Kpi Counter

    Kpi Counter

    16
  • Topographic Lines

    Topographic Lines

    16