This is an addon for BlenderUI, which has apparently been decoupled from Blender:
(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
https://news.ycombinator.com/item?id=50389333