Overview of SuperLightTUI (SLT) capabilities
mainSuperLightTUI (SLT) is a Rust-based TUI framework designed with an immediate-mode (closure-based) rendering model. It distinguishes itself from competitors like Ratatui or Textual through several specialized feature sets:
- AI-Native Widgets: Built-in support for AI workflows via widgets like
StreamingText,ToolApproval,ContextBar, andStreamingMarkdown. - Advanced Animation: A dedicated system supporting 5 types (Tween, Spring, Keyframes, Sequence, Stagger) with 9 easings.
- Responsive Layouts: Support for 5 responsive breakpoint tiers (
xs,sm,md,lg,xl) applied to 35 properties, similar to CSS media queries. - Rich Media & Protocols: Built-in support for image protocols (
HalfBlock,Kitty,Sixel), syntax highlighting (15 languages via tree-sitter), and terminal protocols like OSC 8 links, OSC 52 clipboard, and OSC 11 color schemes. - Developer Experience: Features a minimal "3-line start" API, error boundaries (
error_boundary()) to catch panics without crashing the app, and a comprehensive testing suite (TestBackend,EventBuilder,proptest).