Do any GUI frameworks support WASM? I'm using Dear ImGui for my cross-platform projects (which includes running in browsers): -
https://floooh.github.io/visual6502remix/- (start the emulators by clicking the little "UI" icon to get the debugger UI)
https://floooh.github.io/tiny8bit/- (start by clicking the little "UI" icon)
https://floooh.github.io/sokol-html5/Platform abstraction is handled through the sokol headers:
https://github.com/floooh/sokolDear ImGui is small and fast enough for running in browsers (it will add up to a few hundred KBytes of WASM byte code). If this is too much "bloat", there are smaller, but also less powerful alternatives like microui:
https://github.com/rxi/microui)https://news.ycombinator.com/item?id=38860946
Dear ImGui "Give someone state and they'll have a bug one day, but teach them how to represent state in two separate locations that have to be kept in sync and they'll have bugs for a lifetime." -ryg
https://github.com/ocornut/imgui?tab=readme-ov-fileGive someone state and they'll have a bug one day, but teach them how to represent state in two separate locations that have to be kept in sync and they'll have bugs for a lifetime
https://x.com/rygorous/status/1507178315886444544