# Ratatui

A Rust crate for cooking up terminal user interfaces (TUIs) 👨‍🍳🐀 https://ratatui.rs

Repository: https://github.com/ratatui/ratatui
Canonical: https://ross.abutalabs.com/products/ratatui
Homepage: https://ratatui.rs
Language: Rust
License: MIT
License Family: permissive
Topics: rust, terminal, tui, cli, widgets, ratatui, terminal-user-interface
Last push: 2026-08-24T22:36:40+00:00
Link (homepage): https://ratatui.rs
Link (site_page): https://ratatui.rs/installation

## Health v2 (maintenance only)
Score: 90/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 77, longevity 92
- inputs: {"age_days": 1298, "days_push": 9, "days_rel": 75, "gap_med": 0, "n_releases_24m": 64}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 22405, forks 752 (observed 2026-08-28T04:11:32.601228+00:00)

## What it is
Ratatui is a Rust library for building terminal user interfaces (TUIs) with a widget-based, immediate-mode rendering model. It supports multiple backends (Crossterm, Termion, Termwiz) and is widely used for dashboards, CLI tools, and interactive terminal applications.

## Use cases
- build a terminal dashboard in Rust
- create an interactive CLI tool with a TUI
- make a terminal file viewer or CSV viewer
- build a terminal-based game
- render charts and widgets in the terminal
- build a TUI for browsing APIs or docker containers

## When to choose
- you are writing a Rust application that needs a rich text-based UI
- you want a lightweight, fast alternative to GUI frameworks
- you need cross-platform terminal rendering with pluggable backends
- you want a mature, actively maintained TUI library with a large ecosystem

## When to avoid
- you need a graphical (non-terminal) interface
- you are not using Rust
- you need a full application framework with built-in state management rather than a rendering library

## Facets
- artifact type: library
- maturity: stable
- function: ui-components, developer-tools, cli
- domain: developer-tools, cross-platform
- platform: rust, cross-platform, cli
- tags: tui, terminal-ui, widgets, rust-crate, dashboards, command-line

## Member repositories
- ratatui/ratatui (main) score 90
- ratatui/awesome-ratatui (docs) score 71

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:32.601228+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T16:57:10.858869+00:00, confidence not recorded.
  - readme: https://github.com/ratatui/ratatui (fetched 2026-08-28T04:11:32.601228+00:00, sha 3f5d6e352126)
  - homepage: https://ratatui.rs (fetched 2026-08-29T07:55:58.074996+00:00, sha 78ac37d8311d)
  - site_page: https://ratatui.rs/installation (fetched 2026-08-29T07:55:58.077761+00:00, sha b143662f90df)
  - registry_crates: https://crates.io/api/v1/crates/ratatui (fetched 2026-08-29T07:55:58.079687+00:00, sha 83c68ab1e189)
- Data as of 2026-08-30T08:39:29.467469+00:00.
