Skip to content

PrevNext

Links to the previous and the next item.

Example

Show code
use zeyn::prelude::*;

pub fn overview(_ctx: &Ctx) -> Node {
    PrevNext::new()
        .prev(crate::breadcrumb, ())
        .prev_title("Breadcrumb")
        .next(crate::alpha_index, ())
        .next_title("AlphaIndex")
        .into()
}