![]() |
VOOZH | about |
dotnet add package Avalonia.Controls.WebView --version 12.0.1
NuGet\Install-Package Avalonia.Controls.WebView -Version 12.0.1
<PackageReference Include="Avalonia.Controls.WebView" Version="12.0.1" />
<PackageVersion Include="Avalonia.Controls.WebView" Version="12.0.1" />Directory.Packages.props
<PackageReference Include="Avalonia.Controls.WebView" />Project file
paket add Avalonia.Controls.WebView --version 12.0.1
#r "nuget: Avalonia.Controls.WebView, 12.0.1"
#:package Avalonia.Controls.WebView@12.0.1
#addin nuget:?package=Avalonia.Controls.WebView&version=12.0.1Install as a Cake Addin
#tool nuget:?package=Avalonia.Controls.WebView&version=12.0.1Install as a Cake Tool
The Avalonia WebView component provides native web browser functionality for your Avalonia applications. Unlike embedded WebView solutions that require bundling Chromium, this implementation leverages the platform's native web rendering capabilities, resulting in smaller application size and better performance.
Get started quickly with the WebView component: https://docs.avaloniaui.net/accelerate/components/webview/quickstart
The main control for embedding web content in your app.
<NativeWebView x:Name="WebView"
Source="https://avaloniaui.net" />
Documentation: https://docs.avaloniaui.net/accelerate/components/webview/nativewebview
Native web dialog that provides a way to display web content in a separate window, particularly useful for platforms like Linux where embedded WebView controls might not be available
Documentation: https://docs.avaloniaui.net/accelerate/components/webview/nativewebdialog
WebAuthenticationBroker is a utility class that facilitates OAuth and other web-based authentication flows by providing a secure way to handle web authentication in desktop applications.
Documentation: https://docs.avaloniaui.net/accelerate/components/webview/webauthenticationbroker
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-android36.0 net10.0-android36.0 is compatible. net10.0-browser net10.0-browser was computed. net10.0-browser1.0 net10.0-browser1.0 is compatible. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 3 NuGet packages that depend on Avalonia.Controls.WebView:
| Package | Downloads |
|---|---|
|
Insightdive
Official .NET / Avalonia SDK for Insightdive — anonymous in-app feedback surveys. Modal or inline WebView, lifecycle events, cooldown management. |
|
|
Avalonia.Controls.Maui
Avalonia.Controls.Maui are the handlers and renderers for .NET MAUI apps, replacing their default implementations with Avalonia-based ones. |
|
|
Avalonia.Controls.Maui.Essentials
Avalonia.Controls.Maui.Essentials provides an implementation of Microsoft.Maui.Essentials, using Avalonia-based implementations. |
Showing the top 7 popular GitHub repositories that depend on Avalonia.Controls.WebView:
| Repository | Stars |
|---|---|
|
Devolutions/UniGetUI
UniGetUI: The Graphical Interface for your package managers. Could be terribly described as a package manager manager to manage your package managers
|
|
|
rmcrackan/Libation
Libation: Liberate your Library
|
|
|
Pixeval/Pixeval
Wow. Yet another Pixiv client!
|
|
|
Guerra24/LRReader
A feature-complete reader and client for LANraragi
|
|
|
AvaloniaUI/Avalonia.Controls.Maui
Avalonia-based Handlers for .NET MAUI
|
|
|
mdgrs-mei/GliderUI
Cross-platform Desktop GUI framework for PowerShell powered by Avalonia
|
|
|
Synalix/CitrineLauncher
Premium minecraft launcher developed in .NET 10
|
| Version | Downloads | Last Updated | |
|---|---|---|---|
| 12.0.1 | 9,708 | 5/13/2026 | |
| 12.0.0 | 24,637 | 4/7/2026 | |
| 12.0.0-rc1 | 1,361 | 3/20/2026 | |
| 12.0.0-preview2 | 585 | 3/16/2026 | |
| 12.0.0-preview1 | 169 | 2/19/2026 | |
| 11.4.0 | 10,478 | 3/20/2026 | |
| 11.3.16 | 16,086 | 1/30/2026 | 11.3.16 is deprecated because it is no longer maintained. |
| 11.3.15 | 8,440 | 11/7/2025 | 11.3.15 is deprecated because it is no longer maintained. |
| 11.3.14 | 503 | 11/3/2025 | 11.3.14 is deprecated because it is no longer maintained. |
| 11.3.13 | 831 | 10/28/2025 | 11.3.13 is deprecated because it is no longer maintained. |
| 11.3.12 | 964 | 10/13/2025 | 11.3.12 is deprecated because it is no longer maintained. |
| 11.3.11 | 1,228 | 10/13/2025 | 11.3.11 is deprecated because it is no longer maintained. |
# 12.0.0
- Compatibility with Avalonia 12.0
- Dropped .NET Standard and .NET Framework support
- NativeWebView now supports Linux with WpeWebView backend
- NativeWebView and NativeWebDialog now support Browser backend, but with sandboxing limitations
- NativeWebView and NativeWebDialog now have UserAgent property
# 11.3.16
- New WebViewAdapterInfo API to retrieve WebView engine and availability information
- Implemented Android printing functions
- Implemented `PrintToPdfStreamAsync(WebViewPrintSettings)` overload
- Fixed Windows 7 support for WebView2
- Experimental WebView2 offscreen rendering, can be enabled via WindowsWebView2EnvironmentRequestedEventArgs
# 11.3.15
- Fixed threading issue on XPF
# 11.3.14
- Fixed crash when using `NativeWebView.Background` on iOS
# 11.3.13
- Improves Mono AOT compatibility, removing warnings
- Fixes GTK NativeWebDialog.Canceling event not being raised
# 11.3.11
- First public NuGet release!
- Adds `NativeWebView.ShowPrintUI` and `NativeWebView.PrintToPdfStreamAsync` methods for printing web content, supported on Windows, macOS and Linux GTK (with NativeWebDialog)
# 11.3.10
- Fixes Android WebAuthenticationBroker not working with major OAuth providers
- Adds `WindowsWebView2EnvironmentRequestedEventArgs.AllowSingleSignOnUsingOSPrimaryAccount` parameter
- Adds `EnvironmentRequestedEventArgs.GetDeferrer()` for async initialization of the webview environment, if necessary
# 11.3.9
- Implements Android `WebResourceRequested` header interception
- Fixes Android `WebResourceRequested` not being executed on the UI thread
# 11.3.8
- Fixes Gtk `NativeWebDialog` depending on the libsoap3.0, even if it's not installed
- Fixes Gtk `NativeWebDialog` relying on `g_timeout_add_once` on older platforms
# 11.3.7
- Implements Android `NativeWebDialog`
- Implements Android `AndroidWebViewEnvironmentRequestedEventArgs`
- Fixes Gtk `NativeWebDialog` crashing on some .NET runtime versions
- Fixes Gtk AOT compilation
# 11.3.6
- Fixes GTK `NativeWebDialog` on XPF
- Adds WebView2 STA thread check
# 11.3.5
- Fixes WebView2 on ARM64 processors
# 11.3.4
- Imroves automatic sizing of `NativeWebView`
- Imrpoves NuGet packaging, readme, description
# 11.3.3
- Makes `NativeWebView` compatible with XPF
# 11.3.2
- Extended focus handling support for WebView2
- Adds strong naming to the assembly
- Implements `NativeWebView.Background`, with support for transparent background on some backends
# 11.3.1
- Implements `NativeWebView.EnvironmentRequested` and `NativeWebDialog.EnvironmentRequested`
- Enhanced platform interop with typed `NativeWebView.TryGetPlatformHandle`
- Added `AdapterInitialized` and `AdapterDestroyed`
- Added `WebResourceRequested`
- Added `WebAuthenticationBroker` options for `NonPersistent` and `NativeWebDialogFactory`
# 11.3.0
- Initial release