Documentation
Asgard
Getting started
Theming
Guides
Inputs & forms
Pickers
Data display
Layout & docking
Feedback & overlays
Navigation & chrome
Data display
Render ANSI / terminal output as a styled frame.
Terminal renders ANSI/SGR text, colors, bold, italic, underline, reverse, 256-color and truecolor, as a themed monospace frame. It powers the ansi code blocks in the docs, so captured CLI and TUI output shows on the page exactly as it does in a terminal.
It accepts real escape bytes or the printable escape forms, so you can paste captured output or hand-author a frame. Non-SGR sequences are ignored and malformed input never throws.
Loading preview…
When to use it
- Showing CLI tool output in documentation
- ansi fenced code blocks in markdown
- Captured terminal frames and build logs
- TUI screen previews
Presets