Display Terminal Output
Use useTerminal to create a read-only xterm terminal and render shell command output with full ANSI color support.
Basic Usage
Customization
Font
Theme
Choose from 20+ built-in themes:
Layout
The terminal automatically fits its container using the FitAddon. Set the size via the parent element:
Notes
- The terminal is read-only — no user input is accepted.
- The cursor is hidden.
- Scrollback is disabled.
- The terminal fills its container via CSS overrides.
See the useTerminal Reference for full API details.