Components / Pagination

Pagination

Previous, numbered pages with ellipses, and Next.

Example

The component itself, running in WebAssembly, beside its code in a playground. Try it.

Code

use ravenrs::prelude::*;

fn pagination() -> impl View {
    let page = State::new(0);
    Pagination::new(page.binding(), 24)
}

Open in the playground, with every example →

Full API of Pagination →