Holiday sale: 40% off Pro with code · limited offer · ends Dec 31
See ProA subtitle, dialogue and radio call component in a restrained institutional style. Lines type out with natural pauses on punctuation under an inverted speaker tag, replies appear as a numbered list with a sliding selector, and Skip, Auto and a full transcript Log sit in the footer. The radio variant adds an incoming call card that rings, can be accepted or declined, and shows a live oscilloscope with RGB-split traces and static that reacts while the speaker talks, plus signal bars and a call timer. Space, numbers, arrows, Enter, A, L, E and Q drive everything, the log is a modal that closes with Escape, the canvas pauses offscreen and reduced motion shows full lines with a still trace.
Included in Pro and aboveCompare plans
Live preview. Move the mouse, scroll and click inside the frame.
The copied code, markdown and prompt include the values you set here.
import { TranscriptDialogueBox } from "@/components/hyperblur-pro/transcript-dialogue-box"
<TranscriptDialogueBox
variant="subtitle"
backdrop=""
script={[
{ id: "1", speaker: "Guide", role: "Onboarding", text: "Welcome back. Pick up where you left off?", choices: [{ label: "Resume", next: "2" }, { label: "Start over", next: "3" }] },
{ id: "2", speaker: "Guide", text: "Resuming your last session." },
{ id: "3", speaker: "Guide", text: "Fresh start. Everything is where you left it, only tidier." }
]}
onChoice={(node, choice) => track(choice.label)}
/>| Prop | Type | Default | Description |
|---|---|---|---|
| script | DialogueNode[] | sample call | Lines with id, speaker, role, text and either next or choices ({ label, next }). A node with neither ends the conversation. |
| start | string | first node | Id of the first line. |
| variant | "radio" | "subtitle" | "radio" | Radio adds the incoming call card with waveform; subtitle shows only the dialogue box. |
| caller | { name: string; channel?: string; origin?: string } | { name: "Switchboard", channel: "Channel 7", origin: "Extension 0000 · origin unlisted" } | Text on the call card. |
| cps | number | 38 | Typewriter speed in characters per second. 0 shows lines at once. |
| autoAdvance | boolean | false | Start with Auto on, moving to the next line after a reading delay. |
| autoAccept | number | 1400 | Milliseconds before a ringing call answers itself. 0 waits for the user. |
| loop | boolean | true | Ring again a few seconds after the call ends or is declined. |
| backdrop | string | "https://images.unsplash.com/photo-1511818966892-d7d671e672a2?..." | Photo behind the stage. Empty string leaves a plain dark background. |
| accent | string | "#e0261b" | Warning red for the ringing border, unknown speakers, selector arrow and focus rings. |
| maxDpr | number | 2 | Upper limit for the waveform canvas pixel ratio. |
| onChoice / onEnd | (node, choice) => void / () => void | undefined | Called when a reply is picked and when the conversation ends. |
Source code is included in Pro and above