PrevNextNav
Previous/Next page navigation links — new in v0.3.0.
PrevNextNav is new in v0.3.0. It renders a pair of bordered navigation links for moving between doc pages. Perfect for adding at the bottom of any page.
Installation
bash
shellui add prev-next-nav
Usage
Basic
Next only
Omit PrevHref to show only the Next link with an empty placeholder on the left:
Prev only
In a docs page layout
API Reference
| Parameter | Type | Default | Description |
|---|---|---|---|
PrevLabel |
string? |
null |
Label for the previous link |
PrevHref |
string? |
null |
URL for the previous page. Omit to hide prev link. |
NextLabel |
string? |
null |
Label for the next link |
NextHref |
string? |
null |
URL for the next page. Omit to hide next link. |
Class |
string? |
null |
Additional CSS classes on the <nav> element |