What problem does it solve?
SuperLightTUI (SLT) eliminates the repetitive work of building terminal UIs by hand, so you can focus on interactive behavior and layout instead of diffing, focus management, and rendering loops.
Core Features & Use Cases
- Immediate-mode TUI authoring: Write a single per-frame closure like slt::run(|ui: &mut Context| { ... }) for layout, diffing, and rendering to “just work”.
- Predictable widget API rules: Consistent builder and Response patterns (including v0.20 changes) to reduce compile-time surprises and speed iteration.
- State and composition patterns: Manage state in normal Rust variables and use hooks like use_state_named/use_memo/use_effect plus provide/use_context to avoid excessive prop threading.
Quick Start
Tell the assistant: “Use the slt (SuperLightTUI) skill to implement a terminal UI that shows a bordered ‘Hello’ header and a clickable ‘Quit’ button, using v0.20 APIs and returning a Response from the button.”