STACKS
As of +30 days +90 days +1 year
tui-frameworks
43 within valid-until
0 past it, not rechecked

How to build a good TUI in 2026, and on which framework (Textual, OpenTUI, Ratatui, Bubble Tea, Ink)

Which TUI framework to choose in November 2026, how well each is maintained, and which design principles separate good TUIs from bad ones.

For a TUI written in Python over one's own data, Textual fits best. The rule from the reviews is: a data tool in Python means Textual, TypeScript with a need for performance means OpenTUI, and a single binary means Go or Rust c17. Textual gives the most ready-made parts:

  • a command palette with fuzzy search c5;
  • a compositor with partial updates c6;
  • the same program in the browser c7;
  • key tests through Pilot and visual snapshots c8 c9.

Its creator considers it mature c3, but he is biased when he writes that Textual is ahead of the JS libraries and that Python is fast enough for a TUI c10 c11.

The risk is maintenance. Since Textualize closed, McGugan runs the project alone c2. The latest release is from 30 June 2026 c1, and the last commit, of 9 October, is only a note in the issue template c4. Our own measurement through the GitHub API on 19 November: the last change to the code was on 11 July 2026, and Toad, the author's flagship app, has stood still since 26 May 2026. The conclusion: the TUI layer should be thin, with the logic outside it, so that a move is cheap.

The other players in November 2026:

OpenTUI

  • is the most active and powers OpenCode c14, but it requires Bun or Node 26 with FFI c13.
  • is the base of the Codex TUI c15 c26.
  • has had a v2 with a new renderer since February 2026 c16.
  • powers Claude Code c12.

The principles of a good TUI:

  • two modes, that is a one-off printout and an interactive screen c19;
  • an immediate picture from the cache and a refresh in the background c20;
  • a key for every action, remappable, plus the mouse c21;
  • a footer with about six shortcuts c23;
  • layers of key handling, in which a modal window takes the input c25;
  • drawing without flicker through synchronized output c18;
  • respect for NO_COLOR c24;
  • tests of key sequences, because in a typical TUI project only 12% of the tests touch the interface c22.

What a screen for a quick glance should look like (added on 23 November 2026):

One screen, the most important thing in the top left corner.

  • A dashboard gathers what has to be monitored on one screen c27. The top left corner is the most valuable place c30, and when everything is emphasised, nothing stands out c31.
  • An amount alone says little without a comparison with something c28, and needless digits only slow the reader down c29.
  • right alignment c32, a fixed number of decimal places in a column c33, a header aligned like its data c34. In Textual this is done by a Rich Text with justification in a DataTable cell c42, and large numbers are drawn by the Digits widget c43.
  • Codex writes ordinary text in the terminal's default colour c35 and keeps red and green for errors and success c36. First check whether the app works without colour, then in 16 ANSI colours c37, and under NO_COLOR focus has to be carried by something other than colour c40.
  • Depth without borders comes from background layers c39, and panels do not change place, because the user navigates by memory of position c38. lazygit shows at once everything that is needed, without overwhelming c41. The sources of c37–c41 are practitioners' blogs (T4), not studies.

Claims

In our words

In the source's words

c1checked on 19 Nov 2026valid until 19 Dec 2026

The latest release of Textual is from 30 June 2026.

[ The more super releaseLatest Jun 30, 2026 ](https://github.com/Textualize/textual/releases/tag/v8.2.8)

github.com · T1

c2checked on 19 Nov 2026valid until 19 Dec 2026

Since the company Textualize closed, Textual lives on as an open source project that McGugan still maintains.

Textual will live on as an Open Source project. In the near term, nothing much will change. I will be maintaining Textual and Rich as I have always done.

textual.textualize.io · T2

c3checked on 19 Nov 2026valid until 17 Feb 2027

Its creator considers Textual mature and battle-tested.

Software is never finished, but Textual is mature and battle-tested.

textual.textualize.io · T2

c4checked on 19 Nov 2026valid until 19 Dec 2026

The last commit in Textual (9 October 2026) adds a maintainer's note to the bug report template.

Update bug report template with maintainer note

github.com · T1

c5checked on 19 Nov 2026valid until 17 Feb 2027

Textual's command palette searches commands fuzzily.

which means Textual will show commands that match the keys you type in the same order

textual.textualize.io · T1

c6checked on 19 Nov 2026valid until 17 Feb 2027

Textual's compositor refreshes only the changed region and allows smooth scrolling.

The compositor can also do partial updates. In other words, if you click a button and it changes color, the compositor can update just the region occupied by the button.

textual.textualize.io · T2

c7checked on 19 Nov 2026valid until 17 Feb 2027

The same Textual app runs in the terminal and in the browser.

Textual apps are equally at home in the browser as they are the terminal.

github.com · T1

c8checked on 19 Nov 2026valid until 17 Feb 2027

Textual has an official pytest plugin for snapshot tests of an app's look.

can help you catch otherwise difficult to detect visual changes in your app.

textual.textualize.io · T1

c9checked on 19 Nov 2026valid until 17 Feb 2027

Textual tests simulate key presses through the Pilot object.

Both tests first construct an instance of the app and then call `run_test()` to get a Pilot object.

textual.textualize.io · T1

c10checked on 19 Nov 2026valid until 17 Feb 2027

McGugan (the creator, so biased) claims that Textual is ahead of the TUI libraries in JS.

when it comes to TUIs, Textual is so far ahead of anything in JS

willmcgugan.github.io · T2

c11checked on 19 Nov 2026valid until 17 Feb 2027

McGugan claims that Python is fast enough for a TUI.

it is more than fast enough for a TUI

willmcgugan.github.io · T2

c12checked on 19 Nov 2026valid until 17 Feb 2027

Claude Code is built on Ink.

[Claude Code](https://github.com/anthropics/claude-code) - An agentic coding tool made by Anthropic.

github.com · T1

c13checked on 19 Nov 2026valid until 19 Dec 2026

OpenTUI requires Bun 1.3.14+ or Node.js 26.4+ with experimental FFI.

runs on Bun 1.3.14 or later, or on Node.js 26.4.0 or later with ECMAScript modules (ESM) and `--experimental-ffi`.

npmjs.com · T1

c14checked on 19 Nov 2026valid until 19 Dec 2026

OpenCode uses OpenTUI in production.

OpenCode uses OpenTUI in production for millions of users.

npmjs.com · T1

c15checked on 19 Nov 2026valid until 17 Feb 2027

The codex-tui package (the Codex TUI, file codex-rs/tui/Cargo.toml) is a Rust crate.

[package] name = "codex-tui"

raw.githubusercontent.com · T1

c16checked on 19 Nov 2026valid until 19 Dec 2026

Bubble Tea v2 came out in February 2026 with a new renderer.

Bubble Tea shipped v2 in February 2026, its first breaking change, and the renderer was replaced with reportedly large performance gains.

ttlab.hopto.org · T4

c17checked on 19 Nov 2026valid until 17 Feb 2027

The rule of choice: a data tool in Python means Textual, TypeScript with a need for performance means OpenTUI, a single binary means Go or Rust.

If distribution needs to be a single binary, go with Go or Rust (Bubble Tea, ratatui); if you already have a Node CLI, use Ink; for a Python data tool, use Textual

ttlab.hopto.org · T4

c18checked on 19 Nov 2026valid until 17 Feb 2027

Synchronized output (DEC 2026) makes the terminal draw a frame atomically, without flicker.

Toggling DEC private mode 2026 on and off makes the terminal treat that span atomically.

ttlab.hopto.org · T4

c19checked on 19 Nov 2026valid until 17 Feb 2027

Good tools have both modes: a one-off printout with an argument and an interactive screen without arguments.

In practice, a lot of well-built tools offer both modes side by side

ttlab.hopto.org · T4

c20checked on 19 Nov 2026valid until 17 Feb 2027

ltui shows data from the cache in about 50 ms and refreshes it in the background.

On launch, it renders the last-seen board locally in roughly 50 milliseconds, then refreshes from the tracker in the background.

pantheon.run · T2

c21checked on 19 Nov 2026valid until 17 Feb 2027

ltui: every action has a key and it can be remapped, but everything also works with the mouse.

Vim motions are available and every binding can be remapped.

pantheon.run · T2

c22checked on 19 Nov 2026valid until 17 Feb 2027

A survey of 197 open source TUIs: only 12% of the test code checks the interface.

A 2026 survey of 197 open-source TUIs found that only 12% of their test code exercised the interface

pantheon.run · T2

c23checked on 19 Nov 2026valid until 17 Feb 2027

A bar of shortcuts at the bottom: six keys are fine, sixteen are a problem.

Six keys is fine; sixteen is a problem.

june.kim · T4

c24checked on 19 Nov 2026valid until 17 Feb 2027

The NO_COLOR variable is a convention: when it is set, turn colours off.

If the environment variable is set, drop all color.

june.kim · T4

c25checked on 19 Nov 2026valid until 17 Feb 2027

Keys have to be separated into layers: a modal window takes the input before the screen beneath it.

A modal layer now claims input before the screen below it.

stele-ai.dev · T2

c26checked on 19 Nov 2026valid until 17 Feb 2027

The codex-tui package declares a dependency on ratatui.

ratatui = { workspace = true, features = [

raw.githubusercontent.com · T1

c27checked on 23 Nov 2026valid until 22 May 2027

A dashboard is information gathered on one screen so that it can be monitored at a glance (Few).

consolidated and arranged on a single screen so the information can be monitored at a glance.

perceptualedge.com · T2

c28checked on 23 Nov 2026valid until 22 May 2027

A number on a dashboard needs context (compared with what, good or bad, are we on track) (Few).

context means little. Compared to what? Is this good or bad? How good or bad? Are we on track? Is this better than before?

perceptualedge.com · T2

c29checked on 23 Nov 2026valid until 22 May 2027

A dashboard should not show more detail or precision than needed (Few).

To support the purpose of rapid monitoring, dashboards should never display information that is more detailed or precise

perceptualedge.com · T2

c30checked on 23 Nov 2026valid until 22 May 2027

The most prominent place on a dashboard is the top left corner (Few).

the most prominent position—the top left—is used to display the vendor

perceptualedge.com · T2

c31checked on 23 Nov 2026valid until 22 May 2027

When everything is emphasised, nothing stands out (Few).

When everything is visually prominent, nothing

perceptualedge.com · T2

c32checked on 23 Nov 2026valid until 22 May 2027

Numbers in tables are right-aligned.

Therefore, tables should keep numerical data right-aligned.

mattstromawn.com · T4

c33checked on 23 Nov 2026valid until 22 May 2027

Keep the same number of decimal places in a column of numbers, and as few significant figures as possible.

One easy way to keep your tables properly aligned is to keep the same number of significant figures

mattstromawn.com · T4

c34checked on 23 Nov 2026valid until 22 May 2027

A column header has the same alignment as its data.

Headers, generally, should carry whatever alignment their data has.

mattstromawn.com · T4

c35checked on 23 Nov 2026valid until 23 Dec 2026

The Codex TUI style guide: ordinary text in the terminal's default colour.

Most of the time, just use the default foreground color.

raw.githubusercontent.com · T1

c36checked on 23 Nov 2026valid until 23 Dec 2026

The Codex TUI style guide: success in green, errors in red (ANSI colours).

- **Errors, failures and deletions:** Use ANSI `red`.

raw.githubusercontent.com · T1

c37checked on 23 Nov 2026valid until 22 May 2027

Design in layers: first whether the app works without colour, then whether the hierarchy reads in 16 ANSI colours, true colour last.

Start with monochrome: is the app _usable_ with no color at all? Then add 16 ANSI colors: is the hierarchy _readable_?

hyperbliss.tech · T4

c38checked on 23 Nov 2026valid until 22 May 2027

Panels do not change place; the user navigates by memory of position.

Panels don't move. Tabs stay in order.

hyperbliss.tech · T4

c39checked on 23 Nov 2026valid until 22 May 2027

Depth without borders comes from a few background layers, each about 5-8% lighter.

Three background layers, each ~5-8% lighter. Creates depth without borders.

hyperbliss.tech · T4

c40checked on 23 Nov 2026valid until 22 May 2027

Under NO_COLOR focus has to be carried by a cue that does not depend on colour.

so focus must be carried by a cue that does not depend on color

raw.githubusercontent.com · T4

c41checked on 23 Nov 2026valid until 22 May 2027

lazygit, once opened, shows everything you need without overwhelming you.

Yet `lazygit` somehow manages to show you all of this without visually overwhelming you

bwplotka.dev · T4

c42checked on 23 Nov 2026valid until 21 Feb 2027

DataTable in Textual takes cells as Rich Text, which allows styling and aligning them.

`Text` objects provide an easy way to style and justify cell content

textual.textualize.io · T1

c43checked on 23 Nov 2026valid until 21 Feb 2027

Textual has a Digits widget, which draws large numbers from a 3x3 grid of characters.

A widget to display numerical values using a 3x3 grid of unicode characters.

textual.textualize.io · T1

This card

Last checked on 23 Nov 2026. As data: JSON, Markdown. A claim's permanent address is its number: stacks.jakubdudek.com/tui-frameworks/c1.