SkiaSharp.Views.Maui.Controls
4.152.0
Prefix Reserved
See the version list below for details.
dotnet add package SkiaSharp.Views.Maui.Controls --version 4.152.0
NuGet\Install-Package SkiaSharp.Views.Maui.Controls -Version 4.152.0
<PackageReference Include="SkiaSharp.Views.Maui.Controls" Version="4.152.0" />
<PackageVersion Include="SkiaSharp.Views.Maui.Controls" Version="4.152.0" />
<PackageReference Include="SkiaSharp.Views.Maui.Controls" />
paket add SkiaSharp.Views.Maui.Controls --version 4.152.0
#r "nuget: SkiaSharp.Views.Maui.Controls, 4.152.0"
#:package SkiaSharp.Views.Maui.Controls@4.152.0
#addin nuget:?package=SkiaSharp.Views.Maui.Controls&version=4.152.0
#tool nuget:?package=SkiaSharp.Views.Maui.Controls&version=4.152.0
SkiaSharp.Views.Maui.Controls
SkiaSharp.Views.Maui.Controls adds SkiaSharp rendering controls and image sources to .NET MAUI applications. Put a CPU- or GPU-backed canvas alongside standard MAUI controls, draw with the full SkiaSharp API, and share the same rendering code across Android, iOS, Mac Catalyst, and Windows.
What you get
SKCanvasViewfor CPU-rendered, on-demand drawing.SKGLViewfor hardware-accelerated drawing and continuous render loops.SKImageImageSource,SKBitmapImageSource,SKPixmapImageSource, andSKPictureImageSourcefor MAUI images.- XAML support, data binding, touch input, invalidation, and density-aware canvas sizing.
- Native handlers for Android, iOS, Mac Catalyst, and Windows.
Get started
Install the package:
dotnet add package SkiaSharp.Views.Maui.Controls
Register SkiaSharp in MauiProgram.cs:
using SkiaSharp.Views.Maui.Controls.Hosting;
public static MauiApp CreateMauiApp() =>
MauiApp
.CreateBuilder()
.UseMauiApp<App>()
.UseSkiaSharp()
.Build();
Add a canvas to a XAML page:
<ContentPage
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:skia="clr-namespace:SkiaSharp.Views.Maui.Controls;assembly=SkiaSharp.Views.Maui.Controls">
<skia:SKCanvasView PaintSurface="OnPaintSurface" />
</ContentPage>
Draw in the PaintSurface handler:
using SkiaSharp;
using SkiaSharp.Views.Maui;
private void OnPaintSurface(object sender, SKPaintSurfaceEventArgs e)
{
var canvas = e.Surface.Canvas;
canvas.Clear(SKColors.White);
using var paint = new SKPaint
{
Color = SKColors.CornflowerBlue,
IsAntialias = true,
};
canvas.DrawCircle(e.Info.Width / 2f, e.Info.Height / 2f, 120, paint);
}
Call InvalidateSurface() whenever state changes and the view should redraw. Use SKGLView when the scene benefits from GPU rendering or a continuous animation loop.
Documentation and resources
- SkiaSharp .NET MAUI guides
- API reference on Microsoft Learn
- Buildable .NET MAUI sample
- Live SkiaSharp Gallery - explore the rendering API in your browser
- SkiaSharp package and deployment guide
Feedback and contributing
SkiaSharp is an open-source Microsoft project built with the .NET community. Use GitHub Discussions for questions, file bugs and feature requests in the issue tracker, and read the contributing guide to get involved.
This package is released under the MIT license.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. net9.0-android was computed. net9.0-android35.0 is compatible. net9.0-browser was computed. net9.0-ios was computed. net9.0-ios18.0 is compatible. net9.0-maccatalyst was computed. net9.0-maccatalyst18.0 is compatible. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net9.0-windows10.0.19041 is compatible. net10.0 is compatible. net10.0-android was computed. net10.0-android36.0 is compatible. net10.0-browser was computed. net10.0-ios was computed. net10.0-ios26.0 is compatible. net10.0-maccatalyst was computed. net10.0-maccatalyst26.0 is compatible. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. net10.0-windows10.0.19041 is compatible. |
-
net10.0
- Microsoft.Maui.Controls (>= 10.0.20)
- Microsoft.Maui.Core (>= 10.0.20)
- SkiaSharp (>= 4.152.0)
- SkiaSharp.Views.Maui.Core (>= 4.152.0)
-
net10.0-android36.0
- Microsoft.Maui.Controls (>= 10.0.20)
- Microsoft.Maui.Core (>= 10.0.20)
- SkiaSharp (>= 4.152.0)
- SkiaSharp.Views.Maui.Core (>= 4.152.0)
-
net10.0-ios26.0
- Microsoft.Maui.Controls (>= 10.0.20)
- Microsoft.Maui.Core (>= 10.0.20)
- SkiaSharp (>= 4.152.0)
- SkiaSharp.Views.Maui.Core (>= 4.152.0)
-
net10.0-maccatalyst26.0
- Microsoft.Maui.Controls (>= 10.0.20)
- Microsoft.Maui.Core (>= 10.0.20)
- SkiaSharp (>= 4.152.0)
- SkiaSharp.Views.Maui.Core (>= 4.152.0)
-
net10.0-windows10.0.19041
- Microsoft.Maui.Controls (>= 10.0.20)
- Microsoft.Maui.Core (>= 10.0.20)
- SkiaSharp (>= 4.152.0)
- SkiaSharp.Views.Maui.Core (>= 4.152.0)
-
net9.0
- Microsoft.Maui.Controls (>= 9.0.120)
- Microsoft.Maui.Core (>= 9.0.120)
- SkiaSharp (>= 4.152.0)
- SkiaSharp.Views.Maui.Core (>= 4.152.0)
-
net9.0-android35.0
- Microsoft.Maui.Controls (>= 9.0.120)
- Microsoft.Maui.Core (>= 9.0.120)
- SkiaSharp (>= 4.152.0)
- SkiaSharp.Views.Maui.Core (>= 4.152.0)
-
net9.0-ios18.0
- Microsoft.Maui.Controls (>= 9.0.120)
- Microsoft.Maui.Core (>= 9.0.120)
- SkiaSharp (>= 4.152.0)
- SkiaSharp.Views.Maui.Core (>= 4.152.0)
-
net9.0-maccatalyst18.0
- Microsoft.Maui.Controls (>= 9.0.120)
- Microsoft.Maui.Core (>= 9.0.120)
- SkiaSharp (>= 4.152.0)
- SkiaSharp.Views.Maui.Core (>= 4.152.0)
-
net9.0-windows10.0.19041
- Microsoft.Maui.Controls (>= 9.0.120)
- Microsoft.Maui.Core (>= 9.0.120)
- SkiaSharp (>= 4.152.0)
- SkiaSharp.Views.Maui.Core (>= 4.152.0)
NuGet packages (118)
Showing the top 5 NuGet packages that depend on SkiaSharp.Views.Maui.Controls:
| Package | Downloads |
|---|---|
|
SkiaSharp.Extended.UI.Maui
This package adds additional SkiaSharp controls to .NET MAUI. |
|
|
Microcharts
Simple, cross-platform chart library. |
|
|
Zebra.Printer.SDK
The Zebra Link-OS SDK provides a powerful set of APIs enabling creation of desktop and mobile apps that take full advantage of the printer's operating system features including connectivity, printing and management tasks. |
|
|
SkiaSharp.Views.Maui.Controls.Compatibility
SkiaSharp for .NET MAUI is a set of views that can be used to draw on the screen. |
|
|
LiveChartsCore.SkiaSharpView.Maui
Simple, stunning, interactive and powerful data visualization for .Net. This package includes all the required code and dependencies for rendering charts in MAUI with SkiaSharp. |
GitHub repositories (29)
Showing the top 20 popular GitHub repositories that depend on SkiaSharp.Views.Maui.Controls:
| Repository | Stars |
|---|---|
|
ScottPlot/ScottPlot
Interactive plotting library for .NET
|
|
|
Live-Charts/LiveCharts2
Beautiful, interactive charts, maps, and gauges. One API for every .NET UI framework.
|
|
|
dotnet/maui-samples
Samples for .NET Multi-Platform App UI (.NET MAUI)
|
|
|
CommunityToolkit/Maui
The .NET MAUI Community Toolkit is a community-created library that contains .NET MAUI Extensions, Advanced UI/UX Controls, and Behaviors to help make your life as a .NET MAUI developer easier
|
|
|
microcharts-dotnet/Microcharts
Simple, cross-platform chart library for .NET
|
|
|
Mapsui/Mapsui
Mapsui is a .NET Map component for: MAUI, Avalonia, Uno Platform, Blazor, WPF, WinUI, Windows Forms, Eto Forms, .NET for Android and .NET for iOS
|
|
|
dotnet/MobileBlazorBindings
Experimental Mobile Blazor Bindings - Build native and hybrid mobile apps with Blazor
|
|
|
TheCodeTraveler/GitTrends
A iOS and Android app to monitor the Views, Clones and Star history of your GitHub repos
|
|
|
HavenDV/H.NotifyIcon
TrayIcon for WPF/WinUI/Uno/MAUI
|
|
|
wieslawsoltes/Svg.Skia
An SVG rendering library.
|
|
|
vchelaru/Gum
Flexible layout tool for creating UI on any platform
|
|
|
FreakyAli/Maui.FreakyControls
FreakyControls is a free OSS UI Kit for .NET MAUI which provides a set of controls and utilities to build modern mobile apps.
|
|
|
DrawnUi/DrawnUi.Net
Rendering engine for .NET MAUI, Blazor, OpenTK and pure .NET powered by SkiaSharp 🎨
|
|
|
Dreamescaper/BlazorBindings.Maui
MAUI Blazor Bindings - Build native and hybrid MAUI apps with Blazor
|
|
|
vocoder712/OpenUtauMobile
OpenUtau Mobile 是一个面向移动端的开源免费歌声合成软件; OpenUtau Mobile is a free and open-source singing voice synthesis software for mobile devices.
|
|
|
securefolderfs-community/SecureFolderFS
Powerful, secure, modern way to keep your files protected.
|
|
|
mono/SkiaSharp.Extended
SkiaSharp is a cross-platform, comprehensive 2D graphics API for all .NET platforms. And, here is where you will find all sorts of extras that you can use with it.
|
|
|
nalu-development/nalu
Provides .NET MAUI packages to help with everyday challenges
|
|
|
Strypper/mauisland
MAUIsland 🏝️ is the number 1 controls gallery for .NET MAUI
|
|
|
bitwarden/mobile
Retired Bitwarden mobile app for iOS and Android (MAUI/Xamarin).
|
| Version | Downloads | Last Updated |
|---|---|---|
| 4.154.0-preview.1.26454.9 | 89 | 9/5/2026 |
| 4.153.0-preview.1.26454.6 | 67 | 9/5/2026 |
| 4.152.0 | 903 | 9/9/2026 |
| 4.152.0-rc.1.26426.14 | 264 | 8/27/2026 |
| 4.152.0-preview.1.1 | 468 | 8/8/2026 |
| 4.151.2 | 2,877 | 9/3/2026 |
| 4.151.1 | 20,391 | 8/5/2026 |
| 4.151.0 | 4,814 | 7/31/2026 |
| 4.151.0-rc.1.1 | 150 | 7/22/2026 |
| 4.151.0-preview.2.1 | 144 | 7/14/2026 |
| 4.151.0-preview.1.1 | 244 | 7/2/2026 |
| 4.150.3 | 115 | 9/2/2026 |
| 4.150.2 | 322 | 8/5/2026 |
| 4.150.1 | 14,851 | 7/14/2026 |
| 4.150.0 | 3,216 | 7/8/2026 |
| 4.150.0-rc.1.1 | 170 | 6/30/2026 |
| 4.150.0-preview.2.1 | 156 | 6/25/2026 |
| 4.150.0-preview.1.1 | 404 | 6/15/2026 |
| 4.148.0 | 13,708 | 6/23/2026 |
| 4.148.0-rc.1.2 | 158 | 6/14/2026 |
Please visit https://go.microsoft.com/fwlink/?linkid=868517 to view the release notes.