
Ratatui Tui
This is a comprehensive reference for building terminal UIs with ratatui, Rust's modern TUI library. It covers the full stack: four project templates ranging from a 25-line hello world to a 300-line async component app, the Elm Architecture pattern (Model/Message/Update/View), styling with the Stylize trait, StatefulWidget implementations, and async event handling with crossterm's EventStream. The image integration section is unusually thorough, explaining how to use ratatui-image with background threads and protocol caching. Most useful when you're starting a new TUI project and need working patterns for layout, keyboard navigation, or error handling with color-eyre. The templates alone save hours of boilerplate setup. Targets ratatui 0.30.0 and Rust edition 2024.
- skills.sh installs
- 871
- GitHub stars
- 17
- last updated
- Aug 21, 2026
Install
$ npx -y skills add blacktop/dotfiles --skill ratatui-tui --agent claude-codeInstalls into .claude/skills of the current project.
Files
Ratatui TUI Development
Quick Start
-
Copy template to project:
cp -r ~/.agents/skills/ratatui-tui/assets/templates/<template>/* .Or generate from the official templates repo:
cargo install --locked cargo-generate cargo generate ratatui/templates -
Run:
cargo run
Version Notes (0.30.x)
Targets 0.30.x (MSRV 1.88, edition 2024); run cargo info ratatui for the current patch release.
Sponsors
Details
- Repository
- github.com/blacktop/dotfiles
- Categories
- Backend & APIs, DevOps & CI/CD, Code Review & Quality, Release Management, Rust, Design & UI/UX, CLI & Terminal
- First seen
- Jun 3, 2026