Skip to content
TUI
Docs
Docs
  • Getting Started
  • KGP Integration
  • API Reference
    • Component
    • Buffer
    • Style & Color
    • Layout
    • Events
    • Image
    • Animation
    • Widgets
  • Examples
    • Hello World
    • Layout
    • Styling
    • Widgets
    • Images
    • Animation
    • Styled Text
    • Focus and Input
    • Timers
    • Demo Application
  • Terminal Support

Docs

Getting Started

Installation Add TUI to your Go module: bash Copy go get tui Requirements Go 1.23 or later Any terminal with ANSI escape …

KGP Integration

TUI provides complete integration with the Kitty Graphics Protocol via the kgp package. All KGP features are exposed …

API Reference

Exhaustive reference for all exported types, functions, and constants in the tui and tui/widget packages. Core Component …

Examples

Practical examples for common TUI use cases. All code is runnable and assumes you have imported tui and tui/widget. …

Terminal Support

TUI works in any terminal that supports ANSI escape sequences. KGP image features require additional protocol support. …

↑↓ navigate · Enter select · Esc close