React library for building interactive command-line user interfaces.
React for CLI
$ npm install @jrichman/ink && npx ink-cli$ import { render } from '@jrichman/ink'; import App from './App'; render(<App />);$ import { Box, Text } from '@jrichman/ink'; render(<Box><Text color='green'>Hello</Text></Box>);$ import Spinner from 'ink-spinner'; render(<Spinner type='dots' /> Loading...);$ import TextInput from 'ink-text-input'; render(<TextInput placeholder='Enter name' />);