Osirion.Blazor.Navigation
2.1.18
Prefix Reserved
dotnet add package Osirion.Blazor.Navigation --version 2.1.18
NuGet\Install-Package Osirion.Blazor.Navigation -Version 2.1.18
<PackageReference Include="Osirion.Blazor.Navigation" Version="2.1.18" />
<PackageVersion Include="Osirion.Blazor.Navigation" Version="2.1.18" />
<PackageReference Include="Osirion.Blazor.Navigation" />
paket add Osirion.Blazor.Navigation --version 2.1.18
#r "nuget: Osirion.Blazor.Navigation, 2.1.18"
#:package Osirion.Blazor.Navigation@2.1.18
#addin nuget:?package=Osirion.Blazor.Navigation&version=2.1.18
#tool nuget:?package=Osirion.Blazor.Navigation&version=2.1.18
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 | 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 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 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. |
-
net8.0
- Osirion.Blazor.Core (>= 2.1.18)
-
net9.0
- Osirion.Blazor.Core (>= 2.1.18)
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 |
|---|---|---|
| 2.1.18 | 182 | 12/14/2025 |
| 2.1.17 | 181 | 12/14/2025 |
| 2.1.16 | 179 | 12/14/2025 |
| 2.1.15 | 152 | 12/12/2025 |
| 2.1.14 | 441 | 12/11/2025 |
| 2.1.13 | 446 | 12/11/2025 |
| 2.1.12 | 252 | 9/4/2025 |
| 2.1.11 | 219 | 8/31/2025 |
| 2.1.10 | 242 | 8/29/2025 |
| 2.1.9 | 244 | 8/29/2025 |
| 2.1.8 | 254 | 8/27/2025 |
| 2.1.7 | 342 | 8/25/2025 |
| 2.1.6 | 142 | 8/23/2025 |
| 2.1.5 | 215 | 6/24/2025 |
| 2.1.4 | 214 | 6/18/2025 |
| 2.1.3 | 147 | 5/31/2025 |
| 2.1.2 | 137 | 5/31/2025 |
| 2.1.1 | 225 | 5/20/2025 |
| 2.1.0 | 203 | 5/19/2025 |
| 2.0.2 | 246 | 4/23/2025 |
| 2.0.1 | 233 | 4/23/2025 |
| 2.0.0 | 219 | 4/22/2025 |