(Edit: decoupled by same author, not by Blender.)
https://github.com/ppmpreetham/BUI
Blender's UI code is mostly C, as I recall.
The readme says it supports dear imgui API, tkinter, html and js (including react etc), Qt syntax, Rust, Lua ... that's a lot!
Also seems to support the browser via wasm, though it might be a bit heavy for that.
Edit: BlenderUI previously discussed this month:
Blender's UI and Runtime: Much Faster Than GPUI
Yeah it's exactly for this reason i use Svelte, with charts rendered in play HTML using the browser's native DOM
e.g
But the title doesn’t match the page, regardless of how the submitter is defining their words.
good to know them now