https://github.com/andlabs/libui
This lib look nice, And want wrapper some lib to nim , But don't know How to convert c++ class/struct to nim code, I think maybe add more wrapper tutorials.
libui uses native GUI toolkits per platform while Electron uses some headless Chrome browser. I think these are quite different things. Also, quite some Nim libs do not work with the JS target.
libui is C, not C++. Anyway, you can use c2nim to convert it.