Favicon of ink

ink

React renderer for command-line apps with component-based UI building, Flexbox layouts, and full React feature support. Create testable, dynamic terminal interfaces.

Ink brings the familiar React component model to terminal applications, letting you build interactive command-line interfaces with the same patterns you use for web development. Write CLI apps using JSX and React hooks while leveraging a powerful layout system based on Flexbox through Yoga, making it easy to create responsive terminal UIs.

Key capabilities include:

  • Component-based architecture - Build reusable UI components for your CLI with React's declarative syntax
  • Full React support - Use hooks, state management, effects, and all React features you already know
  • Flexbox layouts - Style terminal output with CSS-like properties for precise control over spacing and alignment
  • Easy testing - Render components and verify CLI output programmatically
  • Rich ecosystem - Trusted by major projects including Shopify CLI, Prisma, Cloudflare Wrangler, and Google's Gemini CLI

Whether you're building deployment tools, interactive installers, or complex terminal applications, Ink provides a modern development experience that reduces boilerplate and makes your CLI code more maintainable. The component-based approach means you can test UI logic independently and reuse components across different parts of your application.

Features

Async I/OJSON outputScriptableTrue color

Media

Pros

4
  • React component-based UI for CLIs
  • Uses Flexbox for layout
  • Supports all React features
  • Enables testable, dynamic terminal interfaces

Related tools

Share:

Auto-fetched .

Recent releases

Similar to ink

Favicon

 

  
 
Favicon

 

  
 
Favicon