Also depends on the language being used. Even if it's javascript, you could use something like Tauri or Neutralino, which can also make an executable bundle which uses the OS's native HTML renderer, no bundled chromium needed.
Some languages + recommended graphical frameworks:
FreePascal + Lazarus
Dart + Flutter
Go + Fyne
Lua + LOVE2D (game engine, but can work fine for most cases)