Avalonia.Controls.WebView 12.0.0-preview1
Avalonia WebView
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.
Requirements
This package requires Avalonia Accelerate license: https://avaloniaui.net/accelerate
Features
- Platform-Native Engines: WebView2 (Windows), WebKit (macOS), WebKitGTK (Linux)
- Lightweight: No embedded browser engine required - smaller application footprint
- AOT Compatible: Compatible with Ahead-of-Time compilation and trimming
- Platform Configuration: Supports WebView2 profiles, persistent storage paths, and many other platform-specific options
- Web APIs: JavaScript execution, bidirectional messaging, cookie management, HTTP header interception
- Authentication: Web authentication broker for OAuth and web-based authentication
- Printing: Print web content directly from the WebView
Quick Start
Get started quickly with the WebView component: https://docs.avaloniaui.net/accelerate/components/webview/quickstart
Components
NativeWebView Control
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
NativeWebDialog
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
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
Showing the top 20 packages that depend on Avalonia.Controls.WebView.
| Packages | Downloads |
|---|---|
|
Avalonia.Controls.Maui
Avalonia.Controls.Maui are the handlers and renderers for .NET MAUI apps, replacing their default implementations with Avalonia-based ones.
|
3 |
|
Avalonia.Controls.Maui.Essentials
Avalonia.Controls.Maui.Essentials provides an implementation of Microsoft.Maui.Essentials, using Avalonia-based implementations.
|
2 |
|
Avalonia.Controls.Maui
Avalonia.Controls.Maui are the handlers and renderers for .NET MAUI apps, replacing their default implementations with Avalonia-based ones.
|
2 |
|
Avalonia.Controls.Maui.Essentials
Avalonia.Controls.Maui.Essentials provides an implementation of Microsoft.Maui.Essentials, using Avalonia-based implementations.
|
1 |
.NET 8.0
- Avalonia (>= 11.1.0)
- AvaloniaUI.Licensing (>= 3.0.6)
.NET 10.0
- Avalonia (>= 11.1.0)
- AvaloniaUI.Licensing (>= 3.0.6)
.NET 10.0
- Avalonia (>= 11.1.0)
- Avalonia.Android (>= 11.1.0)
- AvaloniaUI.Licensing (>= 3.0.6)
| Version | Downloads | Last updated |
|---|---|---|
| 12.0.0-rc1 | 1 | 2026/3/28 |
| 12.0.0-preview2 | 1 | 2026/3/28 |
| 12.0.0-preview1 | 1 | 2026/3/28 |
| 11.4.0 | 1 | 2026/3/28 |
| 11.3.16 | 1 | 2026/3/28 |
| 11.3.15 | 1 | 2026/3/28 |
| 11.3.14 | 1 | 2026/3/28 |
| 11.3.13 | 1 | 2026/3/28 |
| 11.3.12 | 1 | 2026/3/28 |
| 11.3.11 | 1 | 2026/3/28 |