OpenTUI is a React renderer for terminal UIs using Yoga layout (like React Native). NOT React DOM or Ink.
| | Container/layout | style, id, onMouse | | | Text content (strings only!) | fg, bg, selectable | | | Scrollable container | ref, focused | | | Hyperlink (OSC8) | href, fg | | | Text input | focused, onInput, onSubmit | | | Multi-line input | ref, focused, placeholder |
Renders clickable links in terminals supporting OSC8 (iTerm2, Kitty, etc.).
Build terminal UIs with OpenTUI/React. Use when creating screens, components, handling keyboard input, managing scroll, or navigating between views. Covers JSX intrinsics, useKeyboard, scrollbox patterns, and state preservation. Source: ainergiz/xfeed.