bubbletea

Build Go terminal user interfaces with Bubble Tea and Lipgloss styling.

6|Updated Dec 7, 2025
One-click install
npx skills add https://github.com/GGPrompts/my-plugins --skill bubbletea
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bubbletea
Source: https://github.com/GGPrompts/my-plugins/tree/main/skills/bubbletea
Command: npx skills add https://github.com/GGPrompts/my-plugins --skill bubbletea

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill enables building production-grade terminal user interfaces (TUI) in Go using the Bubble Tea framework, enabling Elm-architecture patterns, reusable components, and robust templates.

Core Features & Use Cases

  • Production-ready UI: Bubble Tea + Lipgloss styling for polished TUIs.
  • Layout Patterns: Dual-pane, multi-panel, tabbed interfaces, and responsive design.
  • Guidance & Components: Template system and layouts for common patterns.

Quick Start

Create a minimal TUI app using the included template and run with go run or go build.

Frequently Asked Questions about bubbletea

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

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

Build terminal UIs in Go using Bubble Tea, a framework that implements the Elm architecture pattern with model/update/view loops. Bubble Tea handles rendering, input, and state management to create interactive, production-ready TUIs without low-level terminal control.

Can I create multi-panel layouts in a terminal application?

Yes, Bubble Tea supports multi-panel and dual-pane layouts using Lipgloss styling and border-aware layout calculations. You can build tabbed interfaces and responsive designs by combining Bubble Tea components with Lipgloss for visual structure and alignment.

How do I handle keyboard and mouse input in a terminal UI?

Bubble Tea manages both keyboard and mouse interactions through its update loop, routing input events to your model's Update function. Implement handlers for key presses and mouse clicks to build responsive terminal interfaces with full input control.

What's the best way to style terminal output?

Use Lipgloss alongside Bubble Tea to apply colors, borders, padding, and alignment to terminal output. Lipgloss handles rendering details so your Bubble Tea views focus on layout logic while maintaining polished, visually consistent terminal UIs.

Can I use templates to scaffold a new TUI project?

Yes, Bubble Tea includes a template system for scaffolding new TUI applications with common patterns pre-configured. Templates accelerate project setup and provide reference implementations for standard layouts and component structures.

Does Bubble Tea support hot-reload during development?

The Bubble Tea workflow supports YAML-configurable, hot-reload-enabled development cycles, allowing you to iterate on TUI components and layouts without full rebuilds. This speeds feedback loops when designing and debugging terminal interfaces.