mrkeyoor.comAsk

ratatui/ratatuitested 07 Oct 2026commit 9d16fa0

ratatui review

Choose Ratatui when owning the drawing and input loop fits your Rust application.

  • Install 23 s
  • Build 163 s
4,761/4,761tests passed
  • 444 packages
Dev Toolsevaluationupdated 09 Nov 2026
+41stars / 7d

Ratatui is a Rust library for building text interfaces in a terminal. Its current README shows application code drawing frames, reading input and restoring the terminal. Choose it when you want to define that application loop yourself.

Verdict

Choose Ratatui when owning the drawing and input loop fits your Rust application. Our 2026-10-07 run at commit 9d16fa0 completed the recorded sandbox commands successfully. The 4,761-pass parser aggregate remains unverified because repeated summaries may double-count suites; the aggregate ignored-test count is unknown. Evaluate a representative screen on your intended backend before committing to the application structure.

We ran it

Lab card: what happened when we ran ratatui
Lab card from our sandbox run
Screenshot of ratatui (ratatui.rs)
ratatui.rs
Install✓ · 23s444 packages
Build✓ · 163s
Tests✓ · 112s4761 passed · 0 failed of 4761 (cargo test)
Repo435 files~84,135 lines of source · 4.1 MB · 5 CI workflows

Answers from our run

Does ratatui build from source?

Dependencies installed in 23 seconds (444 packages), and the build succeeded in 163 seconds. We cloned commit 9d16fa0 into a clean Debian container with 3 CPUs and no project-specific setup.

Do ratatui's tests pass?

Yes. The project's own test command finished in 112 seconds and reported 4761 passed, 0 failed (cargo test).

Who should not use ratatui?

Developers who prefer a dialog-and-callback structure or declarative components over the explicit loop shown in Ratatui's quickstart.

What are the alternatives to ratatui?

Cursive, iocraft. Choose Ratatui when owning the drawing and input loop fits your Rust application.

Setup4/5Installation, build and test commands completed with exit code zero and no timeout at 9d16fa0. This assesses the repository command route. Unique test counts and interactive application setup remain unverified.
Docs4/5The supplied README and architecture guide explain the quickstart and crate organization and link to API documentation, tutorials and examples. Every linked resource and exact-commit applicability were not assessed.
Community5/5Last push on 2026-11-07 and 23,287 stars.Editor’s note: Documented discussion channels and repository activity do not establish response times, support quality or contributor availability.
Maturity4/5Latest release ratatui-v0.30.2 on 2026-06-19 (pre-1.0), repository created 2023-02-12 and its test suite passed in our sandbox (4,761 of 4,761 passed).Editor’s note: The recorded repository commands do not establish long-running application reliability, upgrade costs or compatibility across terminals.

How we score

Discussed on

  1. hnRatatui – App Showcase771 points
  2. hnMousefood – Build embedded terminal UIs for microcontrollers244 points
  3. hnRatatui238 points
  4. hnShow HN: RatatuiRuby wraps Rust Ratatui as a RubyGem – TUIs with the joy of Ruby152 points
  5. hnRatatui: tui-rs revival project132 points

Who it’s for

Rust developers building interactive terminal tools or dashboards with their own application state and keyboard commands.
Teams that want layout and widget building blocks while controlling drawing and input handling.
Widget authors considering ratatui-core for foundational traits and types described in the current architecture guide.

Who it’s NOT for

Developers who prefer a dialog-and-callback structure or declarative components over the explicit loop shown in Ratatui's quickstart.
Teams seeking measured rendering performance, screen-reader compatibility or terminal-emulator coverage from this review. The repository run did not establish those properties.
Projects that need a verified compiler or operating-system version for the measured checkout. The supplied environment label does not establish either.

Setup reality

Our sandbox run on 2026-10-07 at commit 9d16fa0 completed installation in 23 seconds, the build in 163 seconds and tests in 112 seconds. Each recorded command returned exit code zero without timing out. The record lists 444 dependencies and a configured machine with 3 CPUs and 12 GB RAM.

The stored parser aggregate reports 4,761 passed and zero failed. Repeated Cargo summaries may double-count suites, so this is not a verified unique or exhaustive test count. Ignored tests appear in the captured output; their aggregate count is unknown. These qualifications remain unresolved by the supplied evidence.

The image label lab-rust:1 does not identify the executed Rust or operating-system version. The current README provides a cargo-generate template route, but the repository run does not establish that a separate application was generated or used interactively. The current documentation is separate evidence from the October checkout.

Ratatui leaves the application loop in your hands

Choose Ratatui when you want your Rust application to control drawing and input. The current README quickstart draws a frame, reads a Crossterm event and exits on a key event. Its main function restores the terminal after the run function returns. The example makes the division of work clear: Ratatui renders the interface, while application code defines its behavior.

That is a useful starting point for a dashboard with custom keyboard commands or changing application data. Selection, editing and navigation still need application code. If you prefer dialogs with callbacks or declarative components, compare the alternatives below before adopting this structure.

What happened when we ran it

Our sandbox run on 2026-10-07 at commit 9d16fa0 completed installation in 23 seconds, the build in 163 seconds and tests in 112 seconds. Each command returned exit code zero without timing out. The recorded configuration had 3 CPUs, 12 GB RAM and image label lab-rust:1. That label does not establish the actual Rust or operating-system version.

The stored parser aggregate reports 4,761 passed and zero failed. Repeated Cargo summaries may double-count suites, so the unique and exhaustive test counts remain unverified. Ignored tests appear in the captured output, and their aggregate count is unknown. Successful command completion is the supported result; the aggregate cannot establish that every test ran and passed.

The checkout contained 435 files, about 84,135 source lines and 4.1 MB. Installation recorded 444 dependencies. These are repository-development measurements. They do not establish the size or dependency count of an application using a particular feature selection.

The scan recorded five CI workflow files and no top-level tests directory or Dockerfile. The absence of a directory named tests does not override the successful test-command result. No interactive workload, rendering-speed benchmark, screen-reader assessment or terminal compatibility matrix is established by this run.

What the current documentation shows

The supplied README and architecture extracts describe current documentation, rather than a verified snapshot of the measured October commit. Their examples and capabilities should not be attributed to 9d16fa0 without evidence from that checkout.

The README offers project templates through cargo-generate. Its Hello World example separates rendering from event handling and calls terminal restoration after the run function returns. This review does not claim that the template or example was executed in the sandbox.

The architecture guide identifies the main ratatui crate as the entry point for most applications and says it re-exports the specialized crates. Widget authors can consider ratatui-core for foundational widget traits, buffers, layout, text and styling. Standard widgets live in ratatui-widgets.

The guide describes the modular workspace as introduced in version 0.30.0. Its stated goals include more flexible dependencies and improved compilation and stability boundaries. Our single build duration does not measure those improvements. The guide also describes Crossterm as cross-platform and Termion as Unix-specific; the sandbox result does not validate either backend across its stated platforms.

Cursive and iocraft offer different application structures

Cursive demonstrates a dialog with a Quit button and starts its event loop with the root object's run method. Consider it when that view-and-callback structure fits your application. Its own README identifies Crossterm as the default backend, so Ratatui's narrower description of Cursive as ncurses-based should not guide that choice.

iocraft documents a declarative API and flexbox layouts. It also describes components, hooks and React-like concepts. Consider it when that component model suits how you want to build the interface.

These comparisons concern documented programming models. We did not compare setup times, runtime performance or development effort across the three libraries.

What the ratings cover

The numeric ratings use this evidence rubric: 1 means a blocked documented route, 2 means substantial evidenced obstacles, 3 means a usable route with material caveats, 4 means successful relevant checks or clearly explained documentation within a stated scope, and 5 requires independent validation across that scope. Missing evidence remains unassessed.

Setup receives 4 for successful repository commands, qualified by the unverified test aggregate and absence of an interactive application check. Documentation receives 4 for the supplied README and architecture explanation, including their links to API reference, tutorials and examples. We did not assess every linked resource. Community support quality and production maturity remain unassessed.

Evaluate one representative screen

Before adopting Ratatui, build a screen that reflects your intended application. Include its input states and an exit path, then check resizing, error cleanup and the terminals and assistive setup your users need. These are proposed checks, not results from our sandbox. Start with the main crate unless a specific dependency requirement leads you to a narrower entry point.

Alternatives

ProjectWhat it isPick it when
CursiveA Rust terminal UI library whose README demonstrates a dialog, a Quit callback and a managed event loop.Choose Cursive when its view-and-callback structure fits your application's interactions.
iocraftA Rust terminal interface library with a declarative API, flexbox layouts, components and hooks.Choose iocraft when its documented React-like component model fits how you want to build the interface.

Sources

  1. Ratatui README
  2. Ratatui architecture
  3. Cursive README
  4. iocraft README

More dev tools reviews