Osirion.Blazor.Navigation
3.0.0
Prefix Reserved
dotnet add package Osirion.Blazor.Navigation --version 3.0.0
NuGet\Install-Package Osirion.Blazor.Navigation -Version 3.0.0
<PackageReference Include="Osirion.Blazor.Navigation" Version="3.0.0" />
<PackageVersion Include="Osirion.Blazor.Navigation" Version="3.0.0" />
<PackageReference Include="Osirion.Blazor.Navigation" />
paket add Osirion.Blazor.Navigation --version 3.0.0
#r "nuget: Osirion.Blazor.Navigation, 3.0.0"
#:package Osirion.Blazor.Navigation@3.0.0
#addin nuget:?package=Osirion.Blazor.Navigation&version=3.0.0
#tool nuget:?package=Osirion.Blazor.Navigation&version=3.0.0
Osirion.Blazor.Navigation
Enhanced navigation components for Blazor applications that work seamlessly with SSR.
Features
- 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: Works with any CSS framework
Installation
dotnet add package Osirion.Blazor.Navigation
Usage
Quick Start
// In Program.cs
using Osirion.Blazor.Navigation.Extensions;
builder.Services.AddOsirionNavigation(navigation => {
navigation
.UseEnhancedNavigation()
.AddScrollToTop();
});
@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
Customize the appearance with CSS variables:
:root {
--osirion-scroll-background: rgba(0, 0, 0, 0.3);
--osirion-scroll-color: #ffffff;
--osirion-scroll-size: 40px;
--osirion-scroll-margin: 20px;
--osirion-scroll-border-radius: 4px;
}
Documentation
For more detailed documentation, see Navigation Documentation.
License
This project is licensed under the MIT License - see the LICENSE file for details.
| Product | Versions 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. |
-
net10.0
- BlazorJSComponents (>= 1.0.0)
- Microsoft.AspNetCore.Components (>= 10.0.10)
- Microsoft.AspNetCore.Components.Web (>= 10.0.10)
- Microsoft.Extensions.Configuration (>= 10.0.10)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.10)
- Microsoft.Extensions.DependencyInjection (>= 10.0.10)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.10)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 10.0.10)
- Osirion.Blazor.Core (>= 3.0.0)
-
net9.0
- BlazorJSComponents (>= 1.0.0)
- Microsoft.AspNetCore.Components (>= 9.0.18)
- Microsoft.AspNetCore.Components.Web (>= 9.0.18)
- Microsoft.Extensions.DependencyInjection (>= 9.0.18)
- Microsoft.Extensions.Logging.Abstractions (>= 9.0.18)
- Osirion.Blazor.Core (>= 3.0.0)
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 |
|---|---|---|
| 3.0.0 | 103 | 8/5/2026 |
| 2.1.18 | 236 | 12/14/2025 |
| 2.1.17 | 219 | 12/14/2025 |
| 2.1.16 | 216 | 12/14/2025 |
| 2.1.15 | 192 | 12/12/2025 |
| 2.1.14 | 475 | 12/11/2025 |
| 2.1.13 | 481 | 12/11/2025 |
| 2.1.12 | 286 | 9/4/2025 |
| 2.1.11 | 251 | 8/31/2025 |
| 2.1.10 | 286 | 8/29/2025 |
| 2.1.9 | 279 | 8/29/2025 |
| 2.1.8 | 293 | 8/27/2025 |
| 2.1.7 | 384 | 8/25/2025 |
| 2.1.6 | 189 | 8/23/2025 |
| 2.1.5 | 250 | 6/24/2025 |
| 2.1.4 | 248 | 6/18/2025 |
| 2.1.3 | 182 | 5/31/2025 |
| 2.1.2 | 175 | 5/31/2025 |
| 2.1.1 | 265 | 5/20/2025 |
| 2.1.0 | 233 | 5/19/2025 |