charmbracelet-tui

Develop terminal user interfaces with Bubbletea v2, Bubbles v2, and Lipgloss v2.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/raphi011/skills --skill charmbracelet-tui
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: charmbracelet-tui
Source: https://github.com/raphi011/skills/tree/main/skills/charmbracelet-tui
Command: npx skills add https://github.com/raphi011/skills --skill charmbracelet-tui

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps developers create sophisticated and interactive command-line interfaces (CLIs) and terminal user interfaces (TUIs) with ease, abstracting away complex terminal rendering and input handling.

Core Features & Use Cases

  • TUI Development: Build modern, interactive applications that run directly in the terminal.
  • Component Library: Utilize pre-built UI components like text inputs, spinners, progress bars, and lists.
  • Styling: Apply rich styling, including colors, borders, and adaptive themes, using Lipgloss.
  • Use Case: Develop a custom CLI tool for managing cloud resources that provides real-time feedback with spinners and progress bars, allows users to select options from a list, and accepts input via a styled text field.

Quick Start

Use the charmbracelet-tui skill to create a basic terminal UI with a text input field.

Frequently Asked Questions about charmbracelet-tui

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a terminal UI in Go using Bubbletea?

Build terminal UIs in Go using the Bubbletea v2 framework by adopting the Elm architecture to manage program state, handle keyboard and mouse input, and orchestrate component rendering directly in the terminal.

Can I style command-line interfaces with Lipgloss in Go?

Style command-line interfaces using Lipgloss v2 to apply rich terminal styling, including colors, borders, and adaptive themes, abstracting away complex terminal rendering logic for modern interactive applications.

What components are available for building interactive CLIs with Bubbles?

Bubbles v2 provides pre-built interactive CLI components including text inputs, spinners, progress bars, viewports, and lists, enabling rapid development of sophisticated terminal user interfaces without manual rendering.

Does this Skill support testing terminal user interfaces?

Testing terminal user interfaces is supported using teatest, allowing developers to verify program lifecycle management, input handling, and component rendering behavior within their Go applications.

What is the best way to handle keyboard and mouse input in a Go TUI?

Handle keyboard and mouse input in a Go TUI by leveraging the Bubbletea v2 framework's Elm architecture, which routes input events through structured update functions to manage program state and lifecycle effectively.