Sample: https://shinyorg.github.io/mauiplatforms/
Platform.Maui.Web is a new .NET MAUI backend that runs your app on WebAssembly. Every control renders as a real HTML element:
* Button → <button>, Entry → <input>, DisplayAlert → <dialog>
* Shapes and borders → SVG, GraphicsView → 2D canvas
* MAUI's own layout engine handles the positioning, so Grid, FlexLayout and your custom layouts behave the way they do on other platforms
What already works:
* Your existing XAML. It's been tested on the stock dotnet new maui template with compiled bindings, AppThemeBinding, OnPlatform/OnIdiom and VisualStateManager.
* Shell, NavigationPage, TabbedPage, FlyoutPage and modals. On phones, tabs move to the bottom and the flyout becomes an overlay.
* CollectionView, CarouselView, the pickers, gestures and light/dark theming.
* Essentials backed by browser APIs: Preferences, Geolocation, Clipboard, Share, sensors, FilePicker and more.
What you need: the .NET 10 SDK. No workload to install. dotnet publish produces static files you can host anywhere.
To add a web version of an existing app, create a small project next to it that links your shared XAML and C#, and swap UseMauiApp<App>() for UseMauiAppWeb<App>().
It's experimental and open source. CollectionView isn't virtualized yet, and there's no drag & drop or pinch yet. Try it out and tell us what breaks.
Sample: https://shinyorg.github.io/mauiplatforms/
👉 github.com/shinyorg/mauiplatforms · NuGet: Platform.Maui.Web