Live Transcript
Rolling speech transcript per speaker. Interim text is dimmed until recognition commits it.
Installation
pnpm dlx shadcn@latest add @jds/live-transcript
Usage
import { LiveTranscript } from "@/components/voice/live-transcript"
<LiveTranscript segments={[{ id: "1", speaker: "user", text: "Move my 3pm", final: false }]} />API Reference
LiveTranscript
| Prop | Type | Default |
|---|---|---|
segments | { id, speaker: "user" | "agent", text, final }[] | – |
agentNameLabel for agent lines. | string | "Agent" |