Streaming terminal preview
Follow supplied streaming output in a bounded, readable terminal with pause and resume controls.
pro · Data · composite
When to use
- Use it when a page needs follow supplied streaming output in a bounded, readable terminal with pause and resume controls.
- Choose it when the data structure, labels, and state are supplied by the application and must remain consumer controlled.
Alternatives
- Choose data-table instead when sortable column controls, native row selection and a scrollable table is the actual interface need, rather than streaming terminal.
Configure components.json and the @tidal-pro namespace before installing Pro components.
Installation
npx shadcn@latest add @tidal-pro/streaming-terminalImport components/ui/tidal.css, components/ui/streaming-terminal.css. Wrap installed components in tidal-scope.
Preview

Minimal example
import"./components/ui/tidal.css";
import"./components/ui/streaming-terminal.css";
import{TidalStreamingTerminal}from"./components/ui/streaming-terminal";
export default()=><div className="tidal-scope"><TidalStreamingTerminal following={false} lines={[{id:"example",text:"Demo"}]} onFollowingChange={() => {}} status={"error"} title={"Demo"}/></div>;API and props
TidalStreamingTerminal.following (required)booleanRequired following value accepted by this exported component.
TidalStreamingTerminal.lines (required)ReadonlyArray<TidalTerminalLine>Required lines value accepted by this exported component.
TidalStreamingTerminal.onFollowingChange (required)(following: boolean) => voidCallback invoked when the following change interaction is proposed.
TidalStreamingTerminal.status (required)TidalTerminalStatusRequired status value accepted by this exported component.
TidalStreamingTerminal.title (required)ReactNodeRequired title value accepted by this exported component.
TidalStreamingTerminal.actionPropsPartial<Record<Action, ActionProps>> | undefinedOptional action props value accepted by this exported component.
TidalStreamingTerminal.disabledboolean | undefinedOptional disabled value accepted by this exported component.
TidalStreamingTerminal.headingLevel"h2" | "h3" | "h4" | "h5" | undefinedOptional heading level value accepted by this exported component.
TidalStreamingTerminal.labelsPartial<{ idle: string; running: string; complete: string; error: string; copy: string; clear: string; cancel: string; following: string; resume: string; output: string; empty: string; invalid: string; truncated: (shown: number, total: number) => string; count: (total: number) => string; }> | undefinedOptional labels value accepted by this exported component.
TidalStreamingTerminal.maxHeightnumber | undefinedOptional max height value accepted by this exported component.
TidalStreamingTerminal.maxVisibleLinesnumber | undefinedOptional max visible lines value accepted by this exported component.
TidalStreamingTerminal.onCancel((event: MouseEvent<HTMLButtonElement>) => void) | undefinedCallback invoked when the cancel interaction is proposed.
TidalStreamingTerminal.onClear((event: MouseEvent<HTMLButtonElement>) => void) | undefinedCallback invoked when the clear interaction is proposed.
TidalStreamingTerminal.onCopy((text: string, event: MouseEvent<HTMLButtonElement>) => void) | undefinedCallback invoked when the copy interaction is proposed.
TidalStreamingTerminal.viewportPropsViewportProps | undefinedOptional viewport props value accepted by this exported component.
TidalStreamingTerminal.viewportRefRef<HTMLDivElement> | undefinedOptional viewport ref value accepted by this exported component.
Complete usage
Full example, stylesheet imports, API and accessibility documentation
Gotchas
- The host application owns data, validation, persistence, navigation, and service side effects described by this API.