Osirion.Blazor.Navigation 4.2.0

Prefix Reserved
dotnet add package Osirion.Blazor.Navigation --version 4.2.0
                    
NuGet\Install-Package Osirion.Blazor.Navigation -Version 4.2.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="Osirion.Blazor.Navigation" Version="4.2.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Osirion.Blazor.Navigation" Version="4.2.0" />
                    
Directory.Packages.props
<PackageReference Include="Osirion.Blazor.Navigation" />
                    
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 Osirion.Blazor.Navigation --version 4.2.0
                    
#r "nuget: Osirion.Blazor.Navigation, 4.2.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 Osirion.Blazor.Navigation@4.2.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=Osirion.Blazor.Navigation&version=4.2.0
                    
Install as a Cake Addin
#tool nuget:?package=Osirion.Blazor.Navigation&version=4.2.0
                    
Install as a Cake Tool

Osirion.Blazor.Navigation

NuGet License

Enhanced navigation components for Blazor applications that work seamlessly with SSR.

Features

  • Menu: A navigation bar with dropdowns and mega menus that becomes a hamburger drawer on small screens, without JavaScript
  • EnhancedNavigation: Improves Blazor's navigation experience with scroll restoration
  • ScrollToTop: Adds a customizable "back to top" button
  • SSR Compatible: Works with Server-Side Rendering and Static SSG
  • Minimal JavaScript: Uses progressive enhancement for interactive features
  • Framework Integration: The scroll button takes the button classes of the framework set in the theming options (Bootstrap, FluentUI, MudBlazor or Radzen)

Installation

dotnet add package Osirion.Blazor.Navigation

Usage

Quick Start

// In Program.cs
using Osirion.Blazor.Navigation.Extensions;

builder.Services.AddOsirionNavigation(navigation => {
    navigation
        .AddEnhancedNavigation()
        .AddScrollToTop();
});
@using Osirion.Blazor.Components
@using Osirion.Blazor.Navigation.Components


<EnhancedNavigation Behavior="ScrollBehavior.Smooth" />
<ScrollToTop Position="Position.BottomRight" />

Scroll to Top Button


<ScrollToTop />


<ScrollToTop 
    Position="Position.BottomRight" 
    Behavior="ScrollBehavior.Smooth"
    VisibilityThreshold="300" 
    Text="Top" />

Enhanced Navigation


<EnhancedNavigation 
    Behavior="ScrollBehavior.Smooth"
    ResetScrollOnNavigation="true"
    PreserveScrollForSamePageNavigation="true" />

Customizing with CSS Variables

Set the size of the scroll to top button with a CSS variable (the default is 45px):

:root {
    --osirion-scroll-size: 40px;
}

Documentation

For more detailed documentation, see Navigation Documentation.

License

This project is licensed under the MIT License - see the LICENSE file for details.

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

Showing the top 1 NuGet packages that depend on Osirion.Blazor.Navigation:

Package Downloads
Osirion.Blazor

Modern, high-performance Blazor components and utilities. Features SSR-compatible components for navigation, analytics, content management, and theming with seamless CSS framework integration.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.2.0 107 10/18/2026
4.1.0 150 10/17/2026
4.0.0 104 10/12/2026
3.0.1 212 9/24/2026
3.0.0 138 8/5/2026
2.1.18 250 12/14/2025
2.1.17 233 12/14/2025
2.1.16 229 12/14/2025
2.1.15 206 12/12/2025
2.1.14 488 12/11/2025
2.1.13 492 12/11/2025
2.1.12 302 9/4/2025
2.1.11 264 8/31/2025
2.1.10 296 8/29/2025
2.1.9 289 8/29/2025
2.1.8 305 8/27/2025
2.1.7 392 8/25/2025
2.1.6 206 8/23/2025
2.1.5 259 6/24/2025
2.1.4 258 6/18/2025
Loading failed