Favicon of OpenTUI

OpenTUI

TypeScript library for creating terminal user interfaces with a native Zig core, component-based architecture, and React/SolidJS support for production applications.

OpenTUI is a native terminal UI library written in Zig with TypeScript bindings, delivering exceptional performance and stability for building sophisticated command-line applications. The native core exposes a C ABI, making it accessible from any programming language.

Key capabilities include:

  • Component-based architecture with flexible layout system for creating complex terminal interfaces
  • Multiple framework options: Use the imperative API directly with @opentui/core, or leverage React and SolidJS reconcilers for declarative UI development
  • Production-ready - Powers OpenCode and terminal.shop in real-world applications
  • High performance with focus on correctness and stability
  • Easy setup - Quick start with bun create tui command
  • Comprehensive documentation and examples to accelerate development

The monorepo provides three main packages: the core TypeScript bindings for native primitives, a SolidJS reconciler for reactive interfaces, and a React reconciler for familiar component patterns. Whether you're building interactive CLI tools, system monitoring dashboards, or complex terminal applications, OpenTUI provides the foundation for fast, responsive interfaces that feel native to the terminal environment.

Features

ScriptableTrue color

Media

Pros

4
  • Component-based architecture for complex UIs
  • React and SolidJS reconcilers available
  • Native Zig core for high performance
  • Extensible core with flexible layout

Cons

1
  • Requires Zig to be installed for building packages

Related tools

Categories:

Share:

Auto-fetched .

Recent releases

Similar to OpenTUI

Favicon

 

  
 
Favicon

 

  
 
Favicon