LiquidGlass 1.0.0

dotnet add package LiquidGlass --version 1.0.0
                    
NuGet\Install-Package LiquidGlass -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" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="LiquidGlass" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="LiquidGlass" />
                    
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 --version 1.0.0
                    
#r "nuget: LiquidGlass, 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@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&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=LiquidGlass&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 net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on LiquidGlass:

Package Downloads
LiquidGlass.Wpf

WPF adapter for LiquidGlass: glass over native WPF content, with backdrops captured from the visuals the host owns and glass drawn into a WriteableBitmap.

LiquidGlass.WinForms

Windows Forms adapter for LiquidGlass: glass over native controls, with backdrops captured from the controls the host owns.

LiquidGlass.Avalonia

Avalonia adapter for LiquidGlass: glass over native Avalonia content on Windows, macOS and Linux, with backdrops captured from the visuals the host owns and glass drawn into a WriteableBitmap.

LiquidGlass.Maui

.NET MAUI adapter for LiquidGlass: a GlassSurface view that refracts the app's own MAUI content on Android and Windows, drawn by the production shaders through SkiaSharp.Views.Maui. iOS is not a target.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 135 10/20/2026
0.2.2 103 10/19/2026
0.2.1 102 10/19/2026