Pipecat UI
Components

Transcript Overlay

Caption-style overlay for bot speech with word-by-word fade-in.

Open in Storybook

Hi

Installation

pnpm dlx shadcn@latest add @pipecat/transcript-overlay

Usage

import { TranscriptOverlay } from "@/components/pipecat/transcript-overlay";

<div className="absolute inset-x-0 bottom-8">
  <TranscriptOverlay />
</div>;

Words accumulate as the bot speaks (driven by word-level BotOutput events) and the whole caption fades out when the turn ends. Renders nothing until the client is ready and speech arrives. Requires a bot with RTVI 1.1.0+.

Key props

PropTypeDescription
size"sm" | "default" | "lg"Caption size
fadeInDuration / fadeOutDurationnumberAnimation timing (ms)
words / turnEndView-only: drive the caption yourself

On this page