He also made the UI framework used by S&box. It's based on HTML/CSS + Razor but is not rendered with a browser.

https://sbox.game/dev/doc/systems/ui/razor-panels/