Skip to content

Textual

Python TUI framework with CSS-like styling, rich widget library, and web deployment via Textual Web.

Textual by Textualize is a Python TUI framework that brings CSS-like styling to the terminal. It features a rich widget library (buttons, trees, tabs, data tables, markdown viewers), reactive data binding, and the ability to serve TUIs as web apps via Textual Web.

Textual works best with the Modern TUI baseline — truecolor for its CSS color system, mouse tracking for interactive widgets, and bracketed paste for text input. It also benefits from Rich features like hyperlinks when available.

Analysis2026-04-06

Textual requires the Modern TUI baseline2 of 12 tested terminals are fully compatible. Compatible: Ghostty, iTerm2. Same baseline tier (Modern TUI) as Silvery, Bubbletea, Ratatui. Other frameworks target: Ink, Blessed (Core TUI).

🔵Modern TUIExpected by modern TUI frameworks

Textual works best with the Modern TUI baseline (68 features). It runs on less capable terminals but degrades gracefully — some features may be unavailable or visually reduced.