SyntaxCircus.FancyBlazor 0.1.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package SyntaxCircus.FancyBlazor --version 0.1.1
                    
NuGet\Install-Package SyntaxCircus.FancyBlazor -Version 0.1.1
                    
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="SyntaxCircus.FancyBlazor" Version="0.1.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SyntaxCircus.FancyBlazor" Version="0.1.1" />
                    
Directory.Packages.props
<PackageReference Include="SyntaxCircus.FancyBlazor" />
                    
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 SyntaxCircus.FancyBlazor --version 0.1.1
                    
#r "nuget: SyntaxCircus.FancyBlazor, 0.1.1"
                    
#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 SyntaxCircus.FancyBlazor@0.1.1
                    
#: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=SyntaxCircus.FancyBlazor&version=0.1.1
                    
Install as a Cake Addin
#tool nuget:?package=SyntaxCircus.FancyBlazor&version=0.1.1
                    
Install as a Cake Tool

FancyBlazor

Build NuGet License: MIT

Composable visual effects for Blazor: backgrounds, borders, viewport reveals, pointer motion, parallax, and shimmer—without React islands, a runtime CDN, or consumer JavaScript tooling.

FancyBlazor targets net10.0 and works with static SSR, Interactive Server, Interactive WebAssembly, Interactive Auto, and standalone WebAssembly. It is CSS-framework-agnostic and keeps meaningful child content as ordinary semantic DOM.

Preview software. The API may change before 1.0. Published as-is and maintained on a best-effort basis; there is no support SLA.

Install and register

dotnet add package SyntaxCircus.FancyBlazor

Register the shared runtime in every executable host. Interactive Auto apps register it in both server and client Program.cs files.

using SyntaxCircus.FancyBlazor;

builder.Services.AddFancyBlazor();

Import the root namespace in _Imports.razor:

@using SyntaxCircus.FancyBlazor

No script tag, npm package, CDN, or manual stylesheet import is required.

First effect

<ShaderBackground Effect="ShaderEffect.Nacre"
                  Palette="FancyPalettes.Witchlight">
    <section class="hero">
        <h1>Build something that catches light.</h1>
        <p>This remains semantic HTML before and after WebGL initializes.</p>
    </section>
</ShaderBackground>

Before interactivity—or when WebGL is unavailable—the component displays a palette-derived CSS background and leaves the content usable.

Preview components

Component Rendering path Purpose
ShaderBackground Vendored WebGL runtime + Nacre GLSL Decorative animated background behind real DOM
GlowBorder CSS-first Animated edge light around existing content
Reveal CSS + IntersectionObserver Viewport-aware fade/translate/blur entrance
Tilt CSS + pointer JavaScript Perspective motion and optional glare
GradientBackground CSS-first Palette-derived animated gradient background
Spotlight CSS + pointer JavaScript Decorative pointer-following radial light
Magnetic CSS + pointer JavaScript Subtle pointer-relative content motion
Parallax CSS + scroll JavaScript Viewport-relative content offset
Stagger CSS + IntersectionObserver Sequential direct-child viewport entry
Shimmer CSS-first Decorative highlight sweep

Components intentionally compose:

<ShaderBackground>
    <Reveal Effect="RevealEffect.BlurUp">
        <Tilt Glare>
            <GlowBorder Color="currentColor">
                <article>Existing content</article>
            </GlowBorder>
        </Tilt>
    </Reveal>
</ShaderBackground>

Global defaults

builder.Services.AddFancyBlazor(options =>
{
    options.MotionPreference = FancyMotionPreference.RespectSystem;
    options.Quality = FancyQuality.Auto;
    options.PauseWhenHidden = true;
    options.PauseWhenOffscreen = true;
    options.EnableDiagnostics = false;
});

Reduced motion is respected by default. Decorative canvases and glare layers are hidden from assistive technology, wrapper components add no tab stops, and continuous rendering stops while hidden or offscreen.

Documentation and examples

Validation

dotnet restore SyntaxCircus.FancyBlazor.slnx
dotnet build SyntaxCircus.FancyBlazor.slnx --no-restore --configuration Release
dotnet test SyntaxCircus.FancyBlazor.slnx --no-build --configuration Release
dotnet pack src/SyntaxCircus.FancyBlazor/SyntaxCircus.FancyBlazor.csproj --no-build --configuration Release
pwsh eng/verify-docs.ps1
pwsh eng/verify-package.ps1

Install the Playwright browser once before the first local browser-test run; the exact command is documented in AGENTS.md.

Contributing and license

Read AGENTS.md before changing public behavior or vendored assets. FancyBlazor is MIT licensed; see LICENSE. Bundled shader.gallery notices are in THIRD-PARTY-NOTICES.md.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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 (2)

Showing the top 2 NuGet packages that depend on SyntaxCircus.FancyBlazor:

Package Downloads
SyntaxCircus.FancyBlazor.WebGL

Preview WebGL companion effects for FancyBlazor, with semantic DOM content and automatic CSS fallbacks.

SyntaxCircus.FancyBlazor.UI

Optional styled, accessible UI controls for FancyBlazor: buttons, links, badges, cards, and a navbar.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.4.0 122 8/31/2026
0.3.3 98 8/31/2026
0.3.2 125 8/28/2026
0.3.1 113 8/28/2026
0.3.0 114 8/28/2026
0.2.5 107 8/28/2026
0.2.4 104 8/27/2026
0.2.3 109 8/25/2026
0.2.2 115 8/24/2026
0.2.1 106 8/24/2026
0.2.0 96 8/23/2026
0.1.5 101 8/23/2026
0.1.4 97 8/23/2026
0.1.3 92 8/23/2026
0.1.2 99 8/23/2026
0.1.1 97 8/23/2026
0.1.0 90 8/23/2026