Skip to main content

Examples

Default

Interactive

First Page

Interactive Dots

Last Page

Props

Pagination

Page navigation control with previous/next buttons and numbered page indicators. Supports a numbered-buttons layout ("default") and a compact dots layout ("dots").
number
required
Current active page (1-indexed).
number
required
Total number of pages.
string
default:"Pagination"
Accessible label for the <nav> landmark.
((page: number) => string)
Function that returns an accessible label for each page button.
string
default:"Next page"
Accessible label for the next-page button.
((page: number) => void)
Callback fired when the active page changes. Receives the new 1-indexed page number.
string
default:"Previous page"
Accessible label for the previous-page button.
"default" | "dots"
default:"default"
Display style — numbered page buttons or minimal dots.

Exported types

Also exported from @fanvue/ui: PaginationProps, PaginationVariant.
Setup: Installation · Theming