Lip Gloss

github.com/charmbracelet/lipgloss Developer Tools Open-source projectOpen source

Style terminal layouts with Lip Gloss, a library of definitions for arranging command-line interfaces.

github.com/charmbracelet/lipgloss
Lip Gloss homepage screenshot

About Lip Gloss

Lip Gloss is an open-source Go library created by Charmbracelet for styling terminal user interfaces (TUIs) and command-line output. It uses a declarative, CSS-inspired syntax that is familiar to developers with web development experience, simplifying the process of defining consistent visual styles for terminal applications.

The library supports a wide range of styling capabilities, including standard ANSI text formatting (bold, italic, underline, etc.), multiple color profiles (ANSI 16, 256, True Color, and 1-bit ASCII), automatic color downsampling for terminals that do not support full color, spacing controls, borders, and layout utilities for arranging terminal content. It also includes built-in tools for color manipulation such as darkening, lightening, and blending colors.

Lip Gloss is designed for Go developers building terminal applications, CLI tools, or any command-line output that requires polished, readable formatting. It can be used as a standalone styling library or integrated seamlessly with Charmbracelet’s Bubble Tea TUI framework.

Key features

  • Declarative, CSS-like syntax for defining terminal styles
  • Supports ANSI 16, 256, True Color, and 1-bit ASCII color profiles
  • Automatically downsample colors to match terminal capabilities
  • Includes text formatting, spacing, border, and layout utilities
  • Integrates with Charmbracelet’s Bubble Tea TUI framework
  • Provides built-in color manipulation tools
Best for: Go developers building terminal user interfaces, CLI tools, or styled command-line output.
Good for
  • CSS-like syntax reduces learning curve for web developers
  • Automatic color downsampling ensures cross-terminal compatibility
  • Open-source with active maintenance from Charmbracelet
  • Lightweight, focused library with minimal overhead
Watch out for
  • Only compatible with Go programming language projects
  • Limited to terminal output styling, no GUI support

Lip Gloss at a glance

Type
Open-source project
Pricing
Not confirmed. Check the site
Open source
Yes · Source code
Language
English
Last checked
Oct 5, 2026 · Online when checked
Listed
Oct 5, 2026

Lip Gloss alternatives

Tools and sites you could use instead, ranked by how closely they match.

All 24 alternatives

Popular in Developer Tools

Well-known listings from the same topic.

All 423

Lip Gloss FAQ

What is Lip Gloss used for?
Lip Gloss is a Go library for styling terminal user interfaces and command-line output, using a declarative, CSS-like syntax to define text formatting, colors, spacing, and layout.
Is Lip Gloss free to use?
Lip Gloss is open-source and available at no cost, with no fees for use or modification under its open-source license.
Does Lip Gloss work with all terminal types?
Yes, Lip Gloss automatically downsamples colors to match the capabilities of the user's terminal, supporting multiple color profiles.
Can Lip Gloss be used with other TUI frameworks?
While it integrates natively with Charmbracelet’s Bubble Tea framework, it works as a standalone styling library for any Go terminal project.
Is something wrong or out of date?

Tell us and an editor will check it.

Own this website?

Claim the listing and suggest updates yourself. An editor checks every claim first.

Claim this listing