LiquidGlass.Maui 1.0.0

dotnet add package LiquidGlass.Maui --version 1.0.0
                    
NuGet\Install-Package LiquidGlass.Maui -Version 1.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="LiquidGlass.Maui" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="LiquidGlass.Maui" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="LiquidGlass.Maui" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add LiquidGlass.Maui --version 1.0.0
                    
#r "nuget: LiquidGlass.Maui, 1.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package LiquidGlass.Maui@1.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=LiquidGlass.Maui&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=LiquidGlass.Maui&version=1.0.0
                    
Install as a Cake Tool

LiquidGlass for .NET

iOS 26-style refracting glass drawn on a SkiaSharp SKCanvas by the same production shaders as LiquidGlass for Compose: the measured material, the lens, and the tab bar selector with its motion. No Compose, browser or JavaScript.

  • LiquidGlass: GlassPainter and the tab bar selector, for any SkiaSharp host (.NET 8).
  • LiquidGlass.WinForms: glass over native Windows Forms controls (.NET 10, Windows 10 19041+).
  • LiquidGlass.Wpf: glass over native WPF content, drawn into a WriteableBitmap (.NET 10, Windows 10 19041+).
  • LiquidGlass.Avalonia: glass over native Avalonia 12 content on Windows, macOS and Linux (.NET 8).
  • LiquidGlass.Maui: a GlassSurface view over your own .NET MAUI content on Android and Windows (.NET 10). iOS is not a target.
using LiquidGlass.Skia;
using SkiaSharp;

// One painter per rendering thread or context.
using var glass = new GlassPainter();
glass.SetSource(backdropImage);   // the page behind the glass: an opaque sRGB SKImage you own

// Draw the page first, then the glass over it. Bounds are in backdrop pixels.
glass.DrawLens(canvas, SKRect.Create(360, 50, 180, 180), magnification: 1.4f);
glass.DrawSurface(canvas, SKRect.Create(30, 260, 300, 100), radius: 24,
    options: new(Dark: true, TintAmount: 50, Density: 1));
// Then draw ordinary labels: they keep their host layout and accessibility.

On Linux, add SkiaSharp.NativeAssets.Linux and install fontconfig and a font.

The shaders are embedded in the assembly; nothing is fetched at runtime. Optical constants are measured from iOS 26 recordings; motion parameters are authored. The research record says which is which: https://liquidglass.shayxo.dev/research/.

Guide, Windows Forms example and limits: https://github.com/shayann07/liquidglass/blob/main/ports/dotnet/README.md.

Apache-2.0. Not affiliated with or endorsed by Apple.

Product Compatible and additional computed target framework versions.
.NET 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-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed.  net10.0-windows10.0.19041 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 81 10/20/2026