- Website
- opentui.com
About OpenTUI
OpenTUI is a Zig-based library for building terminal user interfaces. It serves developers building high-volume TUIs and supports TypeScript directly or via React and Solid, with a flexbox-style layout and input controls; OpenCode uses it in production for millions of users.

Key Features
Developers assemble TUIs by composing layouts, inputs, and media in a Zig-based runtime, using TypeScript directly or through React and Solid, which matters for scalable terminal apps:
TypeScript bindings
Write TypeScript directly or via React and Solid to build components that render in the terminal.
Layout and components
Box-based, flexbox-style layouts organize content; includes text containers, selects, inputs, and scroll areas.
Input and navigation
Keyboard and mouse controls support interacting with controls and navigating large UIs.
Media and graphics
Play sounds, render images, and display 3D graphics in the terminal.
Summary
Best for frontend engineers building internal dashboards, developer tooling UIs, and ops monitoring interfaces.