Skip to content

TranscriptionDisplay

stablev1.0.0

Live speech-to-text output with per-segment confidence signaling. Low-confidence words are underlined in gold (validation) with a confidence pill. Temporal blue border while transcribing, gold for low-confidence final output, error red for STT failure.

ConversationInteractivesince S22/Storybook ↗
import { TranscriptionDisplay } from "@nodus/design-system/patterns"
Loading demo…

Props

segmentsrequired
Type TranscriptionSegment[]Default

Transcript segments — append as they arrive. Each has text, confidence, and interim flag.

state
Type "transcribing" | "complete" | "low-confidence" | "error"Default "transcribing"

Overall display state.

confidenceThreshold
Type numberDefault 0.70

Segments below this threshold get wavy gold underline and confidence pill.

elapsed
Type numberDefault

Elapsed ms since capture started — shown in footer.

onRetranscribe
Type () => voidDefault

Called when user requests re-transcription (shown in error state).

onClear
Type () => voidDefault

Called when user clears the transcript.

maxHeight
Type stringDefault "200px"

Max height before transcript body scrolls.

Metadatatranscribingcompletelow-confidenceerrorsemantictypebordermotion
Design Rationale

This component was designed to express:

Explore Related

Was this helpful?