CLI UI Framework
38.3k 2026-05-12
vadimdemedes/ink
Enables building interactive command-line applications using the familiar React component model and ecosystem.
Core Features
React component-based UI for CLIs
Flexbox layout support in the terminal
Full compatibility with React features and ecosystem
Enables interactive and real-time CLI experiences
Quick Start
npm install ink reactDetailed Introduction
Ink is a powerful JavaScript library that extends the React development paradigm to command-line interface (CLI) applications. It allows developers to construct interactive and dynamic terminal UIs using React's familiar component-based architecture. By integrating with Yoga for Flexbox layouts, Ink provides robust styling capabilities, enabling complex visual arrangements within the terminal. This approach significantly streamlines the development of sophisticated CLIs, offering a highly maintainable and scalable solution for creating engaging command-line tools with real-time updates and rich user interactions.