FTXUI is a single C++ library for terminal user interface.
On this page, you can try all the examples contained in: ./example/ Those are compiled using WebAssembly.