TerminalOutput

Markdown

Process output that follows new lines (unless you’re selecting text), with a stop button.

Used in Coding Studio.

Use it for
Process output that follows along, with a stop button.
Not for
Errors with frames. Try StackTrace.

TerminalOutput preview

Loading example…

Installation

npm install @stackunseen/ui
import { TerminalOutput } from '@stackunseen/ui';
Styles: @stackunseen/ui/styles.css

Usage and props

Your app runs the process, streams the output and authorizes stops. The main entry shows plain output; /terminal adds a full xterm view. Nothing here runs a shell.

Supported inputs

This is the public signature used by this example. Open Code to see how the values and callbacks fit together.

output · state · context? · status? · connection? · submission? · scoped stop/clear · optional /terminal input/resize
How state and callbacks work
All props

Loading…

For your coding agent

Give the agent this page instead of a screenshot. The prompt wraps the page with the install and import lines and the rule that your server, not a click, completes an action.

Contract
output · state · context? · status? · connection? · submission? · scoped stop/clear · optional /terminal input/resize
Keeps honest
Your app runs the process, streams the output and authorizes stops. The main entry shows plain output; /terminal adds a full xterm view. Nothing here runs a shell.
MCP
read_component "TerminalOutput" on the docs endpoint
Open the Markdown file

Keyboard and customization

Keyboard

Tab reaches controls; Enter or Space activates buttons. Accordions use arrow keys, Home and End. Select menus support arrows and typeahead; Escape closes menus and dialogs and restores focus.

Customization

Change shared colors, spacing, corners and icons with the theme. Use the component's supported props to adapt its content and layout. Customization guide and Theme Studio