Examples
Default
Disabled
Custom Label
Middle Page
Interactive
Props
PageSelector
A compact control for stepping through a small, known set of pages one at a time, showing the position as “current of total” between a back and forward arrow. Use when the total is small and the exact page number matters less than moving between them, such as flicking through generated variants or a short carousel. Reach forPagination instead when consumers need to jump to a specific numbered page.
((currentPage: number, totalPages: number) => string)
default:"(current, total) => `${current} of ${total}`"
Formats the indicator between the arrows.
Callback fired when the active page changes. Receives the new 1-indexed page number.
Exported types
Also exported from@fanvue/ui: PageSelectorProps.
Setup: Installation · Theming