SkiaSharp.Views
4.152.0
Prefix Reserved
See the version list below for details.
dotnet add package SkiaSharp.Views --version 4.152.0
NuGet\Install-Package SkiaSharp.Views -Version 4.152.0
<PackageReference Include="SkiaSharp.Views" Version="4.152.0" />
<PackageVersion Include="SkiaSharp.Views" Version="4.152.0" />
<PackageReference Include="SkiaSharp.Views" />
paket add SkiaSharp.Views --version 4.152.0
#r "nuget: SkiaSharp.Views, 4.152.0"
#:package SkiaSharp.Views@4.152.0
#addin nuget:?package=SkiaSharp.Views&version=4.152.0
#tool nuget:?package=SkiaSharp.Views&version=4.152.0
SkiaSharp.Views
SkiaSharp.Views provides native SkiaSharp drawing views for Android, iOS, Mac Catalyst, macOS, tvOS, and Tizen applications. Each view owns the platform rendering surface and raises a familiar PaintSurface event so application code can draw with SKCanvas.
What you get
SKCanvasViewfor CPU-rendered, on-demand drawing.- GPU-backed views using OpenGL, Metal, or the platform's accelerated rendering surface.
- Touch and input helpers, density-aware sizing, and explicit invalidation.
- Platform-native view types that fit directly into each UI framework.
Get started
Install the package into a native platform application:
dotnet add package SkiaSharp.Views
Create the platform SKCanvasView and handle PaintSurface:
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);
}
The namespace and native base type vary by target:
| Target | Namespace | Primary view |
|---|---|---|
| Android | SkiaSharp.Views.Android |
SKCanvasView |
| iOS and Mac Catalyst | SkiaSharp.Views.iOS |
SKCanvasView |
| macOS | SkiaSharp.Views.Mac |
SKCanvasView |
| tvOS | SkiaSharp.Views.tvOS |
SKCanvasView |
| Tizen | SkiaSharp.Views.Tizen |
SKCanvasView |
Using another UI framework?
Choose the package that matches the application framework:
| Framework | Package |
|---|---|
| .NET MAUI | SkiaSharp.Views.Maui.Controls |
| Blazor WebAssembly | SkiaSharp.Views.Blazor |
| Windows Forms | SkiaSharp.Views.WindowsForms |
| WPF | SkiaSharp.Views.WPF |
| WinUI 3 | SkiaSharp.Views.WinUI |
| GTK 3 or GTK 4 | SkiaSharp.Views.Gtk3 or SkiaSharp.Views.Gtk4 |
| Uno Platform | SkiaSharp.Views.Uno.WinUI |
Documentation and resources
- SkiaSharp documentation
- Platform API reference on Microsoft Learn: Android, iOS and Mac Catalyst, macOS, and Tizen
- Platform samples
- Live SkiaSharp Gallery
- Package selection 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 | net6.0-tizen8.0 is compatible. net9.0-android35.0 is compatible. net9.0-ios18.0 is compatible. net9.0-maccatalyst18.0 is compatible. net9.0-macos15.0 is compatible. net9.0-tizen8.0 is compatible. net9.0-tvos18.0 is compatible. net9.0-windows10.0.19041 is compatible. net10.0-android was computed. net10.0-android36.0 is compatible. 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-macos26.0 is compatible. net10.0-tizen10.0 is compatible. net10.0-tvos was computed. net10.0-tvos26.0 is compatible. net10.0-windows was computed. net10.0-windows10.0.19041 is compatible. |
| .NET Framework | net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 is compatible. net481 was computed. |
-
.NETFramework 4.6.2
- SkiaSharp (>= 4.152.0)
-
.NETFramework 4.8
- SkiaSharp (>= 4.152.0)
-
net10.0-android36.0
- SkiaSharp (>= 4.152.0)
-
net10.0-ios26.0
- SkiaSharp (>= 4.152.0)
-
net10.0-maccatalyst26.0
- SkiaSharp (>= 4.152.0)
-
net10.0-macos26.0
- SkiaSharp (>= 4.152.0)
-
net10.0-tizen10.0
- SkiaSharp (>= 4.152.0)
-
net10.0-tvos26.0
- SkiaSharp (>= 4.152.0)
-
net10.0-windows10.0.19041
- SkiaSharp (>= 4.152.0)
-
net6.0-tizen8.0
- SkiaSharp (>= 4.152.0)
-
net9.0-android35.0
- SkiaSharp (>= 4.152.0)
-
net9.0-ios18.0
- SkiaSharp (>= 4.152.0)
-
net9.0-maccatalyst18.0
- SkiaSharp (>= 4.152.0)
-
net9.0-macos15.0
- SkiaSharp (>= 4.152.0)
-
net9.0-tizen8.0
- SkiaSharp (>= 4.152.0)
-
net9.0-tvos18.0
- SkiaSharp (>= 4.152.0)
-
net9.0-windows10.0.19041
- SkiaSharp (>= 4.152.0)
NuGet packages (114)
Showing the top 5 NuGet packages that depend on SkiaSharp.Views:
| Package | Downloads |
|---|---|
|
Xamarin.Forms
Build native UIs for iOS, Android, UWP, macOS, Tizen and many more from a single, shared C# codebase |
|
|
SkiaSharp.Views.Forms
SkiaSharp for Xamarin.Forms is a set of views that can be used to draw on the screen. |
|
|
Microsoft.Maui.Graphics.Skia
.NET Multi-platform App UI (.NET MAUI) is a cross-platform framework for creating native mobile and desktop apps with C# and XAML. This package contains additional graphics and drawing APIs for using the SkiaSharp graphics engine with .NET MAUI Graphics. |
|
|
SkiaSharp.Views.Maui.Core
SkiaSharp for .NET MAUI is a set of views that can be used to draw on the screen. |
|
|
Xamarin.CommunityToolkit
The Xamarin Community Toolkit is a collection of Animations, Behaviors, Converters, and Effects for mobile development with Xamarin.Forms. It simplifies and demonstrates common developer tasks building iOS, Android, and UWP apps with Xamarin.Forms. |
GitHub repositories (39)
Showing the top 20 popular GitHub repositories that depend on SkiaSharp.Views:
| Repository | Stars |
|---|---|
|
dotnet/maui
.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
|
|
|
unoplatform/uno
Open-source platform for building cross-platform native Mobile, Web, Desktop, and Embedded apps from a single C#/XAML codebase. Work from any IDE/CLI with Hot Reload, Visual Designer, MCPs, and Skills built for modern .NET workflows. 200M+ NuGet downloads.
|
|
|
xamarin/Xamarin.Forms
Xamarin.Forms is no longer supported. Migrate your apps to .NET MAUI.
|
|
|
xamarin/xamarin-forms-samples
Sample apps built using the Xamarin.Forms framework
|
|
|
ArduPilot/MissionPlanner
Mission Planner Ground Control Station for ArduPilot (c# .net)
|
|
|
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
|
|
|
xamarin/XamarinCommunityToolkit
The Xamarin Community Toolkit is a collection of Animations, Behaviors, Converters, and Effects for mobile development with Xamarin.Forms. It simplifies and demonstrates common developer tasks building iOS, Android, and UWP apps with Xamarin.Forms.
|
|
|
swharden/Csharp-Data-Visualization
Resources for visualizing data using C# and the .NET platform
|
|
|
maxim-saplin/CrossPlatformDiskTest
Windows, macOS and Android storage (HDD, SSD, RAM) speed testing/performance benchmarking app
|
|
|
kwsch/PKHeX.Mobile
Pokémon save editor for Android and iOS!
|
|
|
sthewissen/Xamarin.Forms.PancakeView
An extended ContentView for Xamarin.Forms with rounded corners, borders, shadows and more!
|
|
|
dotnet/Microsoft.Maui.Graphics
An experimental cross-platform native graphics library.
|
|
|
microsoft/SmartHotel360-Mobile
SmartHotel360 Mobile
|
|
|
Keboo/MaterialDesignInXaml.Examples
A collection of small samples using MaterialDesignInXaml.
|
|
|
CommunityToolkit/Labs-Windows
A space to collaborate and engineer solutions from the prototyping stage all the way through polished finalized component for the Windows Community Toolkit.
|
|
|
DrawnUi/DrawnUi.Net
Rendering engine for .NET MAUI, Blazor, OpenTK and pure .NET powered by SkiaSharp 🎨
|
|
|
xamarin/Sport
|
|
|
roubachof/Xamarin-Forms-Practices
Collection of good practices for Xamarin forms developement
|
|
|
xamarin/KimonoDesigner
Paint application using Xamarin.Mac and SkiaSharp
|
| Version | Downloads | Last Updated |
|---|---|---|
| 4.154.0-preview.1.26454.9 | 146 | 2026/9/5 |
| 4.153.0-preview.1.26454.6 | 100 | 2026/9/5 |
| 4.152.0 | 2,146 | 2026/9/9 |
| 4.152.0-rc.1.26426.14 | 313 | 2026/8/27 |
| 4.152.0-preview.1.1 | 609 | 2026/8/8 |
| 4.151.2 | 3,170 | 2026/9/3 |
| 4.151.1 | 29,967 | 2026/8/5 |
| 4.151.0 | 5,429 | 2026/7/31 |
| 4.151.0-rc.1.1 | 1,091 | 2026/7/22 |
| 4.151.0-preview.2.1 | 178 | 2026/7/14 |
| 4.151.0-preview.1.1 | 312 | 2026/7/2 |
| 4.150.3 | 170 | 2026/9/2 |
| 4.150.2 | 480 | 2026/8/5 |
| 4.150.1 | 14,811 | 2026/7/14 |
| 4.150.0 | 3,925 | 2026/7/8 |
| 4.150.0-rc.1.1 | 225 | 2026/6/30 |
| 4.150.0-preview.2.1 | 199 | 2026/6/25 |
| 4.150.0-preview.1.1 | 475 | 2026/6/15 |
| 4.148.0 | 21,084 | 2026/6/23 |
| 4.148.0-rc.1.2 | 241 | 2026/6/14 |
Please visit https://go.microsoft.com/fwlink/?linkid=868517 to view the release notes.