Free
Pro

Terminal

A local prompt. It does not run a shell. Replies come from the responses map. clear empties the log.

Pro

Pro — licensed

Terminal — part of Ply Pro

Unlock it plus 108 pro blocks, widgets & layouts — $99 one-time. Lifetime updates, 14-day money-back guarantee.

Unlock Pro

Prompt

Type help.

Last command: none

Installation

bash
npx ply-ui-cli add terminal

API Reference

For AI agents

Copy a prompt with the registry name, CLI install, and import — or add the Ply MCP server.

bash
npx -y ply-ui-mcp

Ply provides standalone components. Import the exact elements you want to use into your component.

typescript (Example)
// Install: npx ply-ui-cli add terminal
// Paths are relative to aliases.components (default: src/app/components)
import { TerminalComponent, TerminalLine } from './terminal/terminal.component';

@Component({
  selector: 'app-your-component',
  imports: [
    TerminalComponent
  ],
  template: `...`
})
export class YourComponent {}

API for terminal — generated from JSDoc in the library source.

API reference for terminal
APIMemberTypeDefaultDescription
TerminalLinekind'in' | 'out' — —
TerminalLinetextstring — —
ply-terminalclassstring''Extra host classes merged via `cn()`.
ply-terminalwelcomeunknown'Type help.'Text shown above the log.
ply-terminalpromptunknown'$'Prompt prefix for typed lines.
ply-terminalresponsesRecord<string, string> — Replies keyed by the exact command. `clear` always empties the log.
ply-terminalariaLabelstring''Accessible name of the input.
ply-terminal(submitted)string — Fires with the submitted command.