Avenged.Radzen.PageStack 1.0.0

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

Page Stack Navigation for Blazor

NuGet License: MIT

Page Stack Navigation provides a simple way to stack views on top of each other in Blazor applications using Radzen. It's ideal for scenarios where you want to open components like modals or overlay pages while maintaining navigation state, without relying on the default Blazor routing.


🚀 Installation

Install via NuGet:

dotnet add package Avenged.Radzen.PageStack

Or via the NuGet Package Manager in Visual Studio.


✨ Features

  • Stack-based navigation for Blazor using Radzen components.
  • Easy-to-use API: PushAsync<T>() and Pop().
  • Maintains state across stacked pages.
  • Seamless integration with existing Radzen layouts.
  • Works well with modal-style or layered navigation scenarios.

📦 Package Info

  • Package ID: Avenged.Radzen.PageStack
  • Version: 1.0.0
  • License: MIT
  • Authors: Avenged
  • Tags: blazor, components, view-stack, razor-components, navigation, page-stack, ui, modal, layered-navigation, openmode, blazor-library, dotnet, .net
  • Repository: GitHub

🛠️ Usage Example

MainLayout.razor

@inherits LayoutComponentBase

<HeadContent>
    <RadzenTheme Theme="material" />
</HeadContent>

<RadzenLayout>
    <RadzenSidebar>
        <RadzenPanelMenu>
            <RadzenPanelMenuItem Text="Home" Path="/" Icon="home" />
        </RadzenPanelMenu>
    </RadzenSidebar>
    
    <Avenged.Radzen.PageStack.PageStack>
        <div class="rz-p-4">
            @Body
        </div>
    </Avenged.Radzen.PageStack.PageStack>
</RadzenLayout>

Home.razor

@page "/"

<PageTitle>Home</PageTitle>

<h1>Hello, world!</h1>

Welcome to your new app.

<RadzenButton Text="Open page" Click="@(() => PageStack.PushAsync<Component>())" />

@code {
    [CascadingParameter]
    public PageStack PageStack { get; set; } = null!;
}

Component.razor

<h3>Component</h3>

<RadzenButton Text="Close page" Click="@(() => PageStack.Pop())" />

@code {
    [CascadingParameter]
    public PageStack PageStack { get; set; } = null!;
}

📄 License

This project is licensed under the MIT License.


💬 Feedback & Contributions

Feel free to open issues or submit pull requests on GitHub.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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 was computed.  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. 
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 Avenged.Radzen.PageStack:

Package Downloads
Avenged.Radzen.AbmBase

ABM base abstraction for Blazor apps.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 135 7/2/2025