A Text User Interface library for the Rust programming language
Opening the entry
Opening the entry
A Rust crate for cooking up terminal user interfaces (TUIs)
Ratatui is a Rust crate for building terminal user interfaces (TUIs). It provides a simple and flexible way to create text-based interfaces in the terminal, for command-line applications, dashboards, and other interactive console programs. It was forked from the tui-rs crate in 2023 to continue its development, and it also runs on no std targets such as microcontrollers using a backend like Mousefood.
cargo install --locked cargo-generate cargo generate ratatui/templates
frame.render_widget("hello world", frame.area());ratatui/ratatui is a third-party open-source project, listed here from public GitHub data. ImuTechz did not write it and has not reviewed or security-audited its code. Read the source and its permissions before you install or run it.