Prev Next Nav

Previous and next page links for the foot of a page.

Installation

bash
shellui-native add prev-next-nav

Platforms: MAUI · Avalonia.

Usage

Basic

Rendered with ShellUI for Blazor
<ui:PrevNextNav PreviousLabel="Installation" NextLabel="Theming"
                PreviousClicked="OnPrevious" NextClicked="OnNext" />
Avalonia, running in your browser

Two bordered cards side by side, each a small "Previous" or "Next" over the page's name. A side with no label is left empty, so the first page of a series shows only the next link:

xml
<ui:PrevNextNav NextLabel="Installation" NextClicked="OnNext" />

PreviousText and NextText change the small words, for another language for example.

MAUI and Avalonia

On Avalonia the cards are tab stops, pressed with Enter or Space.

API

Property Type Default Description
PreviousLabel string — Name of the previous page; empty leaves that side out.
NextLabel string — Name of the next page; empty leaves that side out.
PreviousText string "Previous" The small word over the previous page's name.
NextText string "Next" The small word over the next page's name.
Event Arguments Description
PreviousClicked — The previous card was pressed.
NextClicked — The next card was pressed.

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.