Scrim.Maui 1.0.0-alpha-2.2

Additional Details

Test versions from CI/CD

This is a prerelease version of Scrim.Maui.
The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package Scrim.Maui --version 1.0.0-alpha-2.2
                    
NuGet\Install-Package Scrim.Maui -Version 1.0.0-alpha-2.2
                    
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="Scrim.Maui" Version="1.0.0-alpha-2.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Scrim.Maui" Version="1.0.0-alpha-2.2" />
                    
Directory.Packages.props
<PackageReference Include="Scrim.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 Scrim.Maui --version 1.0.0-alpha-2.2
                    
#r "nuget: Scrim.Maui, 1.0.0-alpha-2.2"
                    
#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 Scrim.Maui@1.0.0-alpha-2.2
                    
#: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=Scrim.Maui&version=1.0.0-alpha-2.2&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Scrim.Maui&version=1.0.0-alpha-2.2&prerelease
                    
Install as a Cake Tool

Scrim.Maui

Frosted-glass surfaces for .NET MAUI: blur-behind dialogs, sheets, docks, flyouts and navigation panes backed by native materials — UIVisualEffectView on iOS/Mac Catalyst, window-level blur on Android 12+, in-app acrylic on Windows, with an automatic opaque fallback everywhere else.

dotnet add package Scrim.Maui

Quick start

<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:scrim="clr-namespace:Scrim.Maui;assembly=Scrim.Maui">

    <Grid>
        

        <scrim:Sheet IsPresented="{Binding IsSheetOpen}"
                     Detents="0.4,0.7,0.95"
                     DimBehind="0.3">
            <VerticalStackLayout Spacing="12">
                <Label Text="Hello from the frosted sheet" />
                <Button Text="Close"
                        scrim:FrostedDialog.ClosesDialog="True" />
            </VerticalStackLayout>
        </scrim:Sheet>
    </Grid>
</ContentPage>

Sheet, Flyout, Dock, NavigationPane and the standalone FrostedView cover the declarative side; fluent extensions (view.ShowAsBottomSheet(), …) and IFrostedPresenter cover code-first and DI. Real backdrop blur on iOS 15+/Mac Catalyst 15+, Android 12+ (API 31+) and Windows (in-app acrylic); an opaque fallback everywhere else.

Docs

Full guide, API reference, and platform notes: github.com/DanijelMalik/Scrim.Maui

License

Apache-2.0

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-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. 
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