The Microsoft Edge WebView2 control allows you to embed web technologies (HTML, CSS, and JavaScript) in your native Windows apps.
Sample apps are available on GitHub.
This also seems possible with Blazor btw. see this video: Blazor Desktop - hybrid Web and Desktop apps in .NET 6.
SpecsUpdate
Ranked in these QuestionsQuestion Ranking
Pros
Pro Cross-platform
WebView2 isn't just a Windows-only endeavor; the roadmap cites that cross-platform support is coming soon as a preview, which allows developers to code share across all platforms.
Pro Embeddable on Win32 applications
WebView2 is embeddable on Win32 applications, which allows them to enjoy the benefits of WebView even on traditional desktop applications.
Pro Compatible with older Windows versions
As WebView2 uses the same engine as Microsoft Edge and Chromium, it retains the same cross-platform experience that both browsers enjoy.
Pro Integrated within Windows
WebView2 is integrated on newer versions of Windows, including Windows 11, extensively used in Microsoft's own products.
Pro Free
Cons
Con Non-Greenfield deployments will require Microsoft Edge WebView2 Runtime installed
Applications that do not deploy as a greenfield application will require the Microsoft Edge WebView2 Runtime installed, which is installed alongside Microsoft Edge.
Con No Cross-platform support
The cross platform support for WebView2 is still in development which means code-sharing with other platforms if you're using WebView2 is not yet possible.
Commonly Compared
Alternative Products
