# Lip Gloss

> Style definitions for nice terminal layouts

Source: https://talira.ai/catalog/lip-gloss-xkvdga4c
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / terminal ui](https://talira.ai/categories/libraries/terminal-ui)
- Licence: MIT[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Charm](https://talira.ai/orgs/charm.md)

Lip Gloss is a Go library for styling terminal output with a declarative, CSS-like API: you build a style (bold, colours, padding, borders, width, alignment) and render strings with it. It downsamples colours to what the terminal supports, handles inline formatting, hyperlinks, wrapping and tabs, and has utilities for joining, placing and measuring blocks of text, plus a table rendering package. It is built with TUIs in mind and works with [Bubble Tea](https://talira.ai/catalog/bubble-tea-ns56q3sy.md).

## Links

- GitHub: https://github.com/charmbracelet/lipgloss

## Problems it solves

- style terminal output in Go with colours, borders and padding without hand-writing escape codes
- lay out boxes and columns side by side in a terminal UI
- render a nicely formatted table in a Go command-line tool

## Features

- CSS-like style definitions for terminal text
- colour downsampling to the terminal's profile
- borders, padding, alignment and wrapping
- joining and placing text blocks
- table rendering

## Trust

Overall: 0.61 out of 1.
Signals: maintenance 0.75, adoption 0.82, momentum 0.68, community 0.72, backing 0.30, extensibility 0.00.

- last commit 3 days ago
- 23 commits in the last 90 days
- latest release v2.1.1 15 days ago
- 12.1k GitHub stars
- 63 contributors
- backed by Charm

## Related

- Works with [Bubble Tea](https://talira.ai/catalog/bubble-tea-ns56q3sy.md)

## Alternatives

- [color (Go)](https://talira.ai/catalog/color-go-y7z3s2fy.md): Coloured terminal output for Go with ANSI escape codes
- [tablewriter](https://talira.ai/catalog/tablewriter-q5dtry15.md): Text tables for Go in ASCII, Unicode, Markdown or HTML
- [go-colorable](https://talira.ai/catalog/go-colorable-zxyx4svp.md): Colorable writer for Windows
- [go-isatty](https://talira.ai/catalog/go-isatty-gd0w1ny3.md): isatty for Go: tell whether output goes to a terminal

## Sources

[^1]: https://github.com/charmbracelet/lipgloss/blob/main/LICENSE (checked 27 Nov 2026)
