Dev Terminal Output
Terminal output viewer that renders ANSI colors from a build or command log.
Choose the primitives library your project already uses. Both look the same: your theme, not the variant, controls colors, shape, type and motion.
About this block
What it's for
- Terminal output viewer that renders ANSI colors from a build or command log.
- Streaming console for an AI agent's shell commands with copy, clear and auto scroll.
- CI log pane with a jump to latest button when scrolled up.
For structured, filterable application logs, use Dev Log Tail.
Includes
- Ansi color parsing
- Streaming output
- Carriage return progress
- Auto scroll
- Jump to latest
- Copy plain text
- Clear output
- Scrollback cap
Works with
- Radix UI and Base UI primitives (pick the one your project uses)
- React 19 and Tailwind CSS 4 in Next.js (App Router), Vite, React Router or TanStack Start, installed with the agentic-ui or shadcn CLI
- Your theme tokens, in light and dark mode
Install
Included with Agentic UI Kit (one-time license). Install needs your license key: see pricing · connect your project.
agentic-ui add dev-terminal-outputnpx shadcn@4.17.0 add @agentic-ui/dev-terminal-outputUsed in
A standalone component: drop it into any screen.
- Type
- Block
- Variants
- Radix UI and Base UI
- Themes
- Light and dark
- Widths
- Preview it at desktop, tablet and mobile widths above.
- Sample data
- Ships with sample data in
sample-output.ts; replace it with your own.
- npm packages
lucide-react- Registry dependencies
lib-primitives- Files
4 files
- components/agentic-ui/dev-terminal-output/dev-terminal-output/dev-terminal-output.tsx
- components/agentic-ui/dev-terminal-output/dev-terminal-output/sample-output.ts
- components/agentic-ui/dev-terminal-output/dev-terminal-output/ansi-theme.ts
- components/agentic-ui/dev-terminal-output/dev-terminal-output/ansi-model.ts
Related components
Dev Log Tail
Live log tail with level filter, search highlighting and pause resume.
Details and live previewDev Stack Trace
Stack trace viewer that collapses library frames and links frames to the editor with vscode://.
Details and live previewDev Test Results
Test results viewer with suites and cases tree, pass fail skip counts and durations.
Details and live previewA11y Contrast Badge
Check in the browser whether the theme palette meets AA before opening the PR.
Details and live preview