omranjamal / react-ink-textarea
PublicA full-featured CLI textarea component for React Ink — Implement beautiful multi-line text input on the CLI
A ready-to-use text editing box for command-line programs that supports multi-line input, smooth cursor movement, undo/redo, line numbers, syntax coloring, and form integration.
How It Works
You're building a command-line tool and need a nice spot for users to type long messages or code, so you find this ready-made text box that feels just like a real editor.
With a quick copy-paste, you drop this smart text area into your project, and it starts working right away for typing multiple lines.
Turn on line numbers, colorful highlights for words like tags or links, a blinking cursor that pauses while typing, and undo that groups your changes smartly.
Place it in multi-step forms where users jump between fields, or use it as a full code editor with tab expansion and invisible character hints.
Everything scrolls smoothly, handles big pastes without glitches, and users navigate with familiar keys like arrows, home, and end.
Your command-line tool now has a pro-level text editor that makes entering ideas, code, or notes feel natural and fun, just like a desktop app.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.