An example of how to use ๐ React Final Form in a CLI application with Ink
Last updated Mar 4, 2026
78
Stars
5
Forks
2
Issues
0
Stars/day
Attention Score
44
Topics
Language breakdown
JavaScript 100.0%
โธ Files
click to expand
README
rff-cli-example
This package is an example of how ๐ React Final Form can be used to maintain form data in a CLI app using Ink and Pastel, by @vadimdemedes.
The app simulates a project scaffolding CLI app, like what happens when you run npm init.
Features
- Text inputs
- Select inputs
- Multi-Select inputs
- Sync validation โ Some of the fields are required, and others must conform to a certain structure.
- Async validation โ it will check to see if the package name you have selected is available on NPM.
TextInput, SelectInput, and MultiSelect input components as you wish.
Run it
$ npx rff-cli-example

๐ More in this category